blockly > BlockSvg > setCollapsed
BlockSvg.setCollapsed() method
Set whether the block is collapsed or not.
Signature:
setCollapsed(collapsed: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
collapsed | boolean | True if collapsed. |
Returns:
void