blockly > Block > setCommentText
Block.setCommentText() method
Set this block's comment text.
Signature:
setCommentText(text: string | null): void;
Parameters
Parameter | Type | Description |
---|---|---|
text | string | null | The text, or null to delete. |
Returns:
void