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

blockly > Events > Ui

Events.Ui class

December 2020. Instead use a more specific UI event.

Class for a UI event.

Signature:

export declare class Ui extends UiBase 

Extends: UiBase

Constructors

Constructor Modifiers Description
(constructor)(opt_block, opt_element, opt_oldValue, opt_newValue) Constructs a new instance of the Ui class

Properties

Property Modifiers Type Description
blockId any
element any
newValue any
oldValue any
type string

Methods

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