Skip to main content

blockly > comments > WorkspaceComment > setText

comments.WorkspaceComment.setText() method

Sets the text of the comment.

Signature:

setText(text: string): void;

Parameters

Parameter

Type

Description

text

string

Returns:

void