blockly > comments > DeleteCommentBarButton
Klasa comments.DeleteCommentBarButton
Przycisk usuwający komentarz.
Podpis:
export declare class DeleteCommentBarButton extends CommentBarButton
Rozszerza: CommentBarButton
Zespoły
Zespół | Modyfikatory | Opis |
---|---|---|
(konstruktor)(id, workspace, container) | Tworzy nową instancję DeleteCommentBarButton. |
Właściwości
Właściwość | Modyfikatory | Typ | Opis |
---|---|---|---|
container |
|
SVGGElement | |
ikona |
|
SVGImageElement | Obraz SVG wyświetlany na tym przycisku. |
id |
|
ciąg znaków | |
workspace |
|
WorkspaceSvg |
Metody
Metoda | Modyfikatory | Opis |
---|---|---|
dispose() | Usuwa ten przycisk. | |
performAction(e) | Usuwa komentarz nadrzędny. | |
reposition() | Dostosowuje położenie tego przycisku w jego kontenerze. |