blockly > comments > WorkspaceComment > setCollapsed
comments.WorkspaceComment.setCollapsed() method
Sets whether the comment is collapsed or not.
Signature:
setCollapsed(collapsed: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
collapsed | boolean |
Returns:
void