Skip to main content

blockly > Events > VarBase > (constructor)

Events.VarBase.(constructor)

Constructs a new instance of the VarBase class

Signature:

constructor(opt_variable?: IVariableModel<IVariableState>);

Parameters

Parameter

Type

Description

opt_variable

IVariableModel<IVariableState>

(Optional) The variable this event corresponds to. Undefined for a blank event.