Skip to main content

Home > blockly > Events > ThemeChange

Events.ThemeChange class

Notifies listeners that the workspace theme has changed.

Signature:

export declare class ThemeChange extends UiBase 

Extends: UiBase

Constructors

ConstructorModifiersDescription
(constructor)(opt_themeName, opt_workspaceId)Constructs a new instance of the ThemeChange class

Properties

PropertyModifiersTypeDescription
themeName?string(Optional) The name of the new theme that has been set.
typeEventType

Methods

MethodModifiersDescription
toJson()Encode the event as JSON.