blockly > ToolboxCategory > setDisabled
ToolboxCategory.setDisabled() method
Sets whether the category is disabled.
Signature:
setDisabled(isDisabled: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
isDisabled | boolean | True to disable the category, false otherwise. |
Returns:
void