blockly > Events > VarBase

Events.VarBase-Klasse

Abstrakte Klasse für ein variables Ereignis.

Unterschrift:

export declare class VarBase extends AbstractEvent 

Erweitert: AbstractEvent

Konstruktoren

Konstruktor Modifikatoren Beschreibung
(constructor)(opt_variable) Konstruiert eine neue Instanz der Klasse VarBase

Attribute

Property Modifikatoren Typ Beschreibung
isBlank boolean
varId? String Optional: ID der Variablen, auf die dieses Ereignis verweist.

Methoden

Methode Modifikatoren Beschreibung
toJson() Codieren Sie das Ereignis als JSON.