blockly > comments > DeleteCommentBarButton

comments.DeleteCommentBarButton クラス

コメントを削除するボタン。

署名:

export declare class DeleteCommentBarButton extends CommentBarButton 

拡張: CommentBarButton

コンストラクタ

コンストラクタ 修飾子 説明
(constructor)(id, workspace, container) 新しい DeleteCommentBarButton インスタンスを作成します。

プロパティ

プロパティ 修飾子 タイプ 説明
コンテナ

protected

readonly

SVGGElement
アイコン

protected

readonly

SVGImageElement このボタンに表示される SVG 画像。
id

protected

readonly

文字列
ワークスペース

protected

readonly

WorkspaceSvg

メソッド

メソッド 修飾子 説明
dispose() このボタンを破棄します。
performAction(e) 親コメントを削除します。
reposition() コンテナ内のボタンの位置を調整します。