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