blockly > Events > CommentCreate

Events.CommentCreate クラス

ワークスペースのコメントが作成されたことをリスナーに通知します。

署名:

export declare class CommentCreate extends CommentBase 

拡張: CommentBase

コンストラクタ

コンストラクタ 修飾子 説明
(structor)(opt_comment) CommentCreate クラスの新しいインスタンスを作成します。

プロパティ

プロパティ 修飾子 種類 説明
タイプ string
xml? 要素 | DocumentFragment (省略可)作成したワークスペースのコメントの XML 表現。

Methods

メソッド 修飾子 説明
run(forward) 作成イベントを実行する。
toJson() イベントを JSON としてエンコードします。