blockly > comments > DeleteCommentBarButton

فئة comments.DeleteCommentBarButton

زرّ لحذف تعليق

Signature:

export declare class DeleteCommentBarButton extends CommentBarButton 

النوع الأساسي: CommentBarButton

الشركات المصنِّعة

الشركة المصنِّعة مفاتيح التعديل الوصف
(constructor)(id, workspace, container) تنشئ هذه الدالة مثيلاً جديدًا من DeleteCommentBarButton.

الخصائص

الموقع مفاتيح التعديل النوع الوصف
container

protected

readonly

SVGGElement
icon

protected

readonly

SVGImageElement صورة SVG معروضة على هذا الزر
المعرِّف

protected

readonly

سلسلة
workspace

protected

readonly

WorkspaceSvg

الطُرق

الطريقة مفاتيح التعديل الوصف
dispose() تتخلص هذه الطريقة من الزر.
performAction(e) لحذف التعليق الرئيسي
reposition()‎ تعدِّل هذه السمة موضع الزر داخل الحاوية.