Skip to main content

blockly > comments > CommentView > setText

comments.CommentView.setText() method

Sets the current text of the comment.

Signature:

setText(text: string): void;

Parameters

Parameter

Type

Description

text

string

Returns:

void