blockly > Events > CommentChange > (コンストラクタ)

Events.CommentChange.(constructor)

CommentChange クラスの新しいインスタンスを作成します。

署名:

constructor(opt_comment?: WorkspaceComment, opt_oldContents?: string, opt_newContents?: string);

パラメータ

パラメータ 種類 説明
opt_comment WorkspaceComment (省略可)変更対象のコメント。空のイベントで未定義です。
opt_oldContents string (省略可)コメントの前の内容。
opt_newContents string (省略可)コメントの新しい内容。