blockly > comments > DeleteCommentBarButton > (constructor)
comments.DeleteCommentBarButton.(constructor)
Creates a new DeleteCommentBarButton instance.
Signature:
constructor(id: string, workspace: WorkspaceSvg, container: SVGGElement, commentView: CommentView);
Parameters
Parameter | Type | Description |
|---|---|---|
id | string | The ID of this button's parent comment. |
workspace | The workspace this button's parent comment is shown on. | |
container | SVGGElement | An SVG group that this button should be a child of. |
commentView |