blockly > comments > DeleteCommentBarButton
comments.DeleteCommentBarButton 클래스
댓글을 삭제하는 버튼
서명:
export declare class DeleteCommentBarButton extends CommentBarButton
확장: CommentBarButton
생성자
생성자 | 수정자 | 설명 |
---|---|---|
(생성자)(id, workspace, container) | 새 DeleteCommentBarButton 인스턴스를 만듭니다. |
속성
속성 | 수정자 | 유형 | 설명 |
---|---|---|---|
컨테이너 |
|
SVGGElement | |
아이콘 |
|
SVGImageElement | 이 버튼에 표시되는 SVG 이미지입니다. |
id |
|
문자열 | |
workspace |
|
WorkspaceSvg |
메서드
메서드 | 수정자 | 설명 |
---|---|---|
dispose() | 이 버튼을 처리합니다. | |
performAction(e) | 상위 댓글을 삭제합니다. | |
reposition() | 컨테이너 내에서 이 버튼의 위치를 조정합니다. |