Events.VarCreate class
Notifies listeners that a variable model has been created.
Signature:
export declare class VarCreate extends VarBase
Extends: VarBase
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(opt_variable) | Constructs a new instance of the VarCreate class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
type | string | ||
varName? | string | (Optional) The name of the variable that was created. | |
varType? | string | (Optional) The type of the variable that was created. |
Methods
Method | Modifiers | Description |
---|---|---|
run(forward) | Run a variable creation event. | |
toJson() | Encode the event as JSON. |