Stay organized with collections Save and categorize content based on your preferences.

blockly > Events > VarDelete

Events.VarDelete class

Class for a variable deletion event.

Signature:

export declare class VarDelete extends VarBase 

Extends: VarBase

Constructors

Constructor Modifiers Description
(constructor)(opt_variable) Constructs a new instance of the VarDelete class

Properties

Property Modifiers Type Description
type string
varName? string (Optional)
varType? string (Optional)

Methods

Method Modifiers Description
fromJson(json) Decode the JSON event.
run(forward) Run a variable deletion event.
toJson() Encode the event as JSON.