blockly > Events > VarRename > (constructor)
Events.VarRename.(constructor)
VarRename
クラスの新しいインスタンスを作成します。
署名:
constructor(opt_variable?: VariableModel, newName?: string);
パラメータ
パラメータ | 種類 | 説明 |
---|---|---|
opt_variable | VariableModel | (省略可)名前が変更された変数。空のイベントで未定義です。 |
newName | string | (省略可)変数の変更後の新しい名前。 |