blockly > الأحداث > CommentCollapse > (دالة إنشائية)
Events.CommentCollapse.(constructor)
تنشئ هذه السياسة مثيلاً جديدًا من الفئة CommentCollapse
.
Signature:
constructor(comment?: WorkspaceComment, newCollapsed?: boolean | undefined);
المَعلمات
المَعلمة | النوع | الوصف |
---|---|---|
تعليق | WorkspaceComment | (اختياري) |
newCollapsed | boolean | undefined | (اختياري) |