TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

Class: DesignEditorWidgetCommand

Represents a DesignEditor action.

Hierarchy

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›