blockly > comments > CommentEditor > setText

comments.CommentEditor.setText() 方法

设置评论的当前文本并触发更改监听器。

Signature:

setText(text: string): void;

参数

参数 类型 说明
text 字符串

返回

void