blockly > Events > CommentDrag > (constructor)

Events.CommentDrag.(constructor)

إنشاء مثيل جديد من فئة CommentDrag

Signature:

constructor(opt_comment?: WorkspaceComment, opt_isStart?: boolean);

المعلمات

المَعلمة النوع الوصف
opt_comment WorkspaceComment (اختياري) التعليق الذي يتم سحبه غير محدّد لحدث فارغ.
opt_isStart قيمة منطقية (اختياري) يشير إلى ما إذا كان هذا هو بداية سحب تعليق. غير محدّد لحدث فارغ.