au-widget-design-editor/Commands/command
Classes
abstract DesignEditorWidgetCommand
Represents a DesignEditor action.
Extended by
ChangeDesignVariantCommandChangeMockupCommandCreateImageItemCommandDuplicateSurfacesCommandInitialCommandLoadUserInfoCommandModifyItemsCommandResizeItemsCommandSetBackgroundCommandSetPrintAreaCommandSetRemoteMockupCommandSetSerializedProductSetSurfacesCommandSetThemeCommandSetViewerSettingsSwapSurfacesCommandTranslateItemsCommandUpdateContainerSettingsCommandUpdateItemsUpdateSurfacesCommand
Methods
execute()
abstract execute(params, oldParams?): Promise<any>;
Executes a command.
Parameters
| Parameter | Type | Description |
|---|---|---|
params | | IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[] | Parameters for the command. |
oldParams? | | IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[] | The previous parameters for the command. |
Returns
Promise<any>