Skip to main content

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.

Signature:

export declare class UiBase extends AbstractEvent 

Extends: AbstractEvent

Constructors

Constructor

Modifiers

Description

(constructor)(opt_workspaceId)

Constructs a new instance of the UiBase class

Properties

Property

Modifiers

Type

Description

isBlank

boolean

isUiEvent

boolean

Whether or not the event is a UI event.

recordUndo

boolean

workspaceId

string