blockly > comments > CommentBarButton > (constructor)

comments.CommentBarButton.(constructor)

新しい CommentBarButton インスタンスを作成します。

署名:

constructor(id: string, workspace: WorkspaceSvg, container: SVGGElement);

パラメータ

パラメータ 説明
id 文字列 このボタンの親コメントの ID。
ワークスペース WorkspaceSvg このボタンの親コメントがあるワークスペース。
コンテナ SVGGElement このボタンの子要素となる SVG グループ。