Skip to main content

Home > 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

ConstructorModifiersDescription
(constructor)(opt_workspaceId)Constructs a new instance of the UiBase class

Properties

PropertyModifiersTypeDescription
isBlankboolean
isUiEventbooleanWhether or not the event is a UI event.
recordUndoboolean
workspaceIdstring