blockly > Events > VarDelete > (constructor)

Events.VarDelete.(constructor)

Constructs a new instance of the VarDelete class

Signature:

constructor(opt_variable?: IVariableModel<IVariableState>);

Parameters

Parameter Type Description
opt_variable IVariableModel<IVariableState> (Optional) The deleted variable. Undefined for a blank event.