blockly > comments > CommentEditor > setText

comments.CommentEditor.setText() 方法

設定留言的目前文字,並觸發變更事件監聽器。

Signature:

setText(text: string): void;

參數

參數 類型 說明
文字 字串

傳回:

void