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

Class: CanvasWidgetCommand

Represents a canvas action.

Hierarchy

Index

Methods

Methods

Abstract execute

execute(params: ICanvasCommandDefinition | ICanvasCommandDefinition[], oldParams?: ICanvasCommandDefinition | ICanvasCommandDefinition[]): Promise‹any›

Executes a command.

Parameters:

Name Type Description
params ICanvasCommandDefinition | ICanvasCommandDefinition[] Parameters for the command.
oldParams? ICanvasCommandDefinition | ICanvasCommandDefinition[] The previous parameters for the command.

Returns:Promise‹any›