blockly > comments > DeleteCommentBarButton
comments.DeleteCommentBarButton sınıfı
Yorumu silen düğme.
İmza:
export declare class DeleteCommentBarButton extends CommentBarButton
Uzatır: CommentBarButton
Markalar
Marka | Değiştiriciler | Açıklama |
---|---|---|
(constructor)(id, workspace, container) | Yeni bir DeleteCommentBarButton örneği oluşturur. |
Özellikler
Mülk | Değiştiriciler | Tür | Açıklama |
---|---|---|---|
container |
|
SVGGElement | |
icon |
|
SVGImageElement | Bu düğmede gösterilen SVG resmi. |
id |
|
dize | |
workspace |
|
WorkspaceSvg |
Yöntemler
Yöntem | Değiştiriciler | Açıklama |
---|---|---|
dispose() | Bu düğmeyi kaldırır. | |
performAction(e) | Üst yorumu siler. | |
reposition() | Bu düğmenin kapsayıcısı içindeki konumunu ayarlar. |