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.


export declare class Ui extends UiBase 

Extends: UiBase


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


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


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