Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
blockly > CollapsibleToolboxCategory > onClick
Signature :
onClick(_e: Event): void;
Paramètres
Paramètre |
Type |
Description |
_e |
Événement |
|
Renvoie :
vide
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/25 (UTC)."],[[["`CollapsibleToolboxCategory.onClick()` is a method that handles click events on a collapsible toolbox category in Blockly."],["It takes an `Event` object as a parameter, which represents the click event itself."],["The method does not return any value (`void`)."],["This method is essential for managing the expansion and collapse behavior of toolbox categories within the Blockly interface."]]],["The `onClick` method of the `CollapsibleToolboxCategory` class is defined. This method takes a single parameter, `_e`, which is of type `Event`. It performs an unspecified action when a click event occurs and has no return value. The method's signature is `onClick(_e: Event): void`.\n"]]