blockly > الأحداث > CommentBase > (أداة الإنشاء)
إنشاء مثيل جديد لفئة CommentBase
Signature:
constructor(opt_comment?: WorkspaceComment);
المعلمات
المعلمة |
النوع |
الوصف |
opt_comment |
WorkspaceComment |
(اختياري) التعليق الذي يقابله هذا الحدث. غير محدّد لحدث فارغ. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-22 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-22 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The `CommentBase` class constructor creates a new instance of the class, representing an event related to a workspace comment."],["It optionally takes a `WorkspaceComment` object as input, specifying the comment the event is associated with."]]],["The `CommentBase` class constructor creates a new instance, optionally accepting a `WorkspaceComment` object as a parameter. This parameter represents the comment the event is associated with. If no comment is provided, the event is considered blank. The constructor's signature is `constructor(opt_comment?: WorkspaceComment)`.\n"]]