blockly > icons > CommentIcon > setText
icons.CommentIcon.setText() method
Sets the text of this comment. Updates any bubbles if they are visible.
Signature:
setText(text: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
text | string |
Returns:
void