blockly > comments > CollapseCommentBarButton > (constructor)

comments.CollapseCommentBarButton.(constructor)

Creates a new CollapseCommentBarButton instance.

Signature:

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

Parameters

Parameter Type Description
id string The ID of this button's parent comment.
workspace WorkspaceSvg The workspace this button's parent comment is displayed on.
container SVGGElement An SVG group that this button should be a child of.