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

blockly > Events > Selected

Events.Selected class

Class for a selected event.

Signature:

export declare class Selected extends UiBase 

Extends: UiBase

Constructors

Constructor Modifiers Description
(constructor)(opt_oldElementId, opt_newElementId, opt_workspaceId) Constructs a new instance of the Selected class

Properties

Property Modifiers Type Description
newElementId? string (Optional)
oldElementId? string (Optional)
type string

Methods

Method Modifiers Description
fromJson(json) Decode the JSON event.
toJson() Encode the event as JSON.