Home > blockly > comments > CollapseCommentBarButton > performAction
comments.CollapseCommentBarButton.performAction() method
Toggles the collapsed state of the parent comment.
Signature:
performAction(e?: Event): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| e | Event | (Optional) The event that triggered this action. |
Returns:
void