blockly > comments > CommentBarButton > (constructor)

comments.CommentBarButton.(constructor)

새 CommentBarButton 인스턴스를 만듭니다.

서명:

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

매개변수

매개변수 유형 설명
id 문자열 이 버튼의 상위 댓글 ID입니다.
작업공간 WorkspaceSvg 이 버튼의 상위 댓글이 있는 작업공간입니다.
컨테이너 SVGGElement 이 버튼이 하위 요소여야 하는 SVG 그룹입니다.