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

protected

readonly

SVGGElement
icon

protected

readonly

SVGImageElement Bu düğmede gösterilen SVG resmi.
id

protected

readonly

dize
workspace

protected

readonly

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.