Class: DesignEditorWidgetCommand
Represents a DesignEditor action.
Hierarchy
-
DesignEditorWidgetCommand
Index
Methods
Methods
Abstract
execute
▸ execute(params
: IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[], oldParams?
: IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[]): Promise‹any›
Executes a command.
Parameters:
Name | Type | Description |
---|---|---|
params |
IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[] | Parameters for the command. |
oldParams? |
IDesignEditorCommandDefinition | IDesignEditorCommandDefinition[] | The previous parameters for the command. |
Returns:Promise‹any›