blockly > Events > UiBase

Events.UiBase class

Base class for a UI event. UI events are events that don't need to be sent over the wire for multi-user editing to work (e.g. scrolling the workspace, zooming, opening toolbox categories). UI events do not undo or redo.


export declare class UiBase extends AbstractEvent 

Extends: AbstractEvent


Constructor Modifiers Description
(constructor)(opt_workspaceId) Constructs a new instance of the UiBase class


Property Modifiers Type Description
isBlank boolean
isUiEvent boolean Whether or not the event is a UI event.
recordUndo boolean
workspaceId string