blockly > comments > DeleteCommentBarButton > (constructor)
comments.DeleteCommentBarButton.(constructor)
新しい DeleteCommentBarButton インスタンスを作成します。
署名:
constructor(id: string, workspace: WorkspaceSvg, container: SVGGElement);
パラメータ
パラメータ | 型 | 説明 |
---|---|---|
id | 文字列 | このボタンの親コメントの ID。 |
ワークスペース | WorkspaceSvg | このボタンの親コメントが表示されているワークスペース。 |
コンテナ | SVGGElement | このボタンの子要素となる SVG グループ。 |