blockly > ToolboxItem > setVisible_
ToolboxItem.setVisible_() method
Sets whether the category is visible or not. For a category to be visible its parent category must also be expanded.
Signature:
setVisible_(_isVisible: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
_isVisible | boolean | True if category should be visible. |
Returns:
void