Skip to main content

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
ParameterType
paramIDesignEditorDefinitionSetTheme
Returns

Promise<any>

Overrides

DesignEditorWidgetCommand.execute

Was this page helpful?