Skip to main content

Home > blockly > Events > VarBase

Events.VarBase class

Abstract class for a variable event.

Signature:

export declare class VarBase extends AbstractEvent 

Extends: AbstractEvent

Constructors

ConstructorModifiersDescription
(constructor)(opt_variable)Constructs a new instance of the VarBase class

Properties

PropertyModifiersTypeDescription
isBlankboolean
varId?string(Optional) The ID of the variable this event references.

Methods

MethodModifiersDescription
toJson()Encode the event as JSON.