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