Skip to main content

blockly > comments > RenderedWorkspaceComment > setText

comments.RenderedWorkspaceComment.setText() method

Sets the text of the comment.

Signature:

setText(text: string): void;

Parameters

Parameter

Type

Description

text

string

Returns:

void