blockly > ISelectableToolboxItem > setSelected
ISelectableToolboxItem.setSelected() method
Sets the current toolbox item as selected.
Signature:
setSelected(_isSelected: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
_isSelected | boolean | True if this category is selected, false otherwise. |
Returns:
void