blockly > WorkspaceSvg > setVisible
WorkspaceSvg.setVisible() method
Toggles the visibility of the workspace. Currently only intended for main workspace.
Signature:
setVisible(isVisible: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
isVisible | boolean | True if workspace should be visible. |
Returns:
void