blockly > ISelectableToolboxItem > onClick
ISelectableToolboxItem.onClick() method
Handles when the toolbox item is clicked.
Signature:
onClick(_e: Event): void;
Parameters
Parameter | Type | Description |
---|---|---|
_e | Event | Click event to handle. |
Returns:
void