blockly > WorkspaceSvg > addTopComment
WorkspaceSvg.addTopComment() method
Adds a comment to the list of top comments.
Signature:
addTopComment(comment: WorkspaceComment): void;
Parameters
Parameter | Type | Description |
---|---|---|
comment | WorkspaceComment | comment to add. |
Returns:
void