Home > blockly > Events > ThemeChange > (constructor)
Events.ThemeChange.(constructor)
Constructs a new instance of the ThemeChange class
Signature:
constructor(opt_themeName?: string, opt_workspaceId?: string);
Parameters
| Parameter | Type | Description |
|---|---|---|
| opt_themeName | string | (Optional) The theme name. Undefined for a blank event. |
| opt_workspaceId | string | (Optional) The workspace identifier for this event. event. Undefined for a blank event. |