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