blockly > Events > ThemeChange
Events.ThemeChange class
Notifies listeners that the workspace theme has changed.
Signature:
export declare class ThemeChange extends UiBase
Extends: UiBase
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(opt_themeName, opt_workspaceId) | Constructs a new instance of the ThemeChange class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
themeName? | string | (Optional) The name of the new theme that has been set. | |
type | string |
Methods
Method | Modifiers | Description |
---|---|---|
toJson() | Encode the event as JSON. |