blockly > イベント > CommentDelete

Events.CommentDelete クラス

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

署名:

export declare class CommentDelete extends CommentBase 

拡張: CommentBase

コンストラクタ

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

プロパティ

プロパティ 修飾子 タイプ 説明
json? comments.State (省略可)作成されたワークスペース コメントの JSON 表現。
type EventType
xml? 要素 (省略可)削除されたワークスペース コメントの XML 表現。

メソッド

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