Class DesignEditorWidgetCommand
Represents a DesignEditor action.
Package: ui-framework
Methods
execute(IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[], IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[])
Executes a command.
Declaration
function execute(params: IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[], oldParams?: IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[])
Parameters
Type | Name | Description |
---|---|---|
IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[] | params |
Parameters for the command. |
IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[] | oldParams |
The previous parameters for the command. |
Returns
Type | Description |
---|---|
Promise<any> |