blockly > الأحداث > CommentChange > (أداة الإنشاء)

Events.CommentChange.(constructor)

تنشئ هذه الدالة مثيلاً جديدًا من الفئة CommentChange.

Signature:

constructor(opt_comment?: WorkspaceComment, opt_oldContents?: string, opt_newContents?: string);

المَعلمات

المَعلمة Type الوصف
opt_comment WorkspaceComment (اختياري) التعليق الذي يتم تغييره. غير محدّد لحدث فارغ.
opt_oldContents سلسلة (اختياري) المحتوى السابق للتعليق
opt_newContents سلسلة (اختياري) المحتوى الجديد في التعليق