au-widget-design-editor/Commands/set-theme-command
Classes
SetThemeCommand
A command that defines product themes.
For details, you can refer to the IDesignEditorDefinitionSetTheme.
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"setTheme": {
"primary": "{{ "#f00" }}",
"secondary": "{{ "#0f0" }}"
}
}
}
Extends
Methods
execute()
execute(param): Promise<any>;
Executes this command.
Parameters
| Parameter | Type |
|---|---|
param | IDesignEditorDefinitionSetTheme |
Returns
Promise<any>