blockly > Events > CommentCollapse
Signature:
export declare class CommentCollapse extends CommentBase
Extends: CommentBase
Constructors
Properties
Property |
Modifiers |
Type |
Description |
newCollapsed? |
|
boolean | undefined |
(Optional) |
type |
|
string |
|
Methods
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `CommentCollapse` class, extending `CommentBase`, handles events related to collapsing or expanding comments in Blockly."],["It includes properties like `newCollapsed` indicating the comment's collapsed state and `type` for event identification."],["Key methods include `run` for executing the collapse/expand action and `toJson` for encoding the event data."],["Developers can use this class to manage and respond to comment collapse/expand actions within Blockly applications."]]],[]]