blockly > Events > CommentCollapse > (constructor)
Events.CommentCollapse.(constructor)
Constructs a new instance of the CommentCollapse class
Signature:
constructor(comment?: WorkspaceComment, newCollapsed?: boolean | undefined);
Parameters
Parameter | Type | Description |
|---|---|---|
comment | (Optional) | |
newCollapsed | boolean | undefined | (Optional) |