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