blockly > comments > CollapseCommentBarButton

comments.CollapseCommentBarButton 클래스

댓글의 접힌 상태를 전환하는 버튼

서명:

export declare class CollapseCommentBarButton extends CommentBarButton 

확장: CommentBarButton

생성자

생성자 수정자 설명
(생성자)(id, workspace, container) 새 CollapseCommentBarButton 인스턴스를 만듭니다.

속성

속성 수정자 유형 설명
컨테이너

protected

readonly

SVGGElement
아이콘

protected

readonly

SVGImageElement 이 버튼에 표시되는 SVG 이미지입니다.
id

protected

readonly

문자열
workspace

protected

readonly

WorkspaceSvg

메서드

메서드 수정자 설명
dispose() 이 버튼을 처리합니다.
performAction(e) 상위 댓글의 접힌 상태를 전환합니다.
reposition() 컨테이너 내에서 이 버튼의 위치를 조정합니다.