blockly > Events > VarRename > (constructor)

Events.VarRename.(constructor)

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

Signature:

constructor(opt_variable?: IVariableModel<IVariableState>, newName?: string);

المعلمات

المَعلمة النوع الوصف
opt_variable IVariableModel<IVariableState> (اختياري) المتغيّر الذي تمت إعادة تسميته. غير محدّد لحدث فارغ.
newName سلسلة (اختياري) الاسم الجديد الذي سيتم تغيير المتغيّر إليه.