blockly > ToolboxCategory > setVisible_

ToolboxCategory.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