UI Framework ReferenceCanvasWidgetCommand

Class: CanvasWidgetCommand

Represents a canvas action.

Hierarchy

Index

Methods

Methods

Abstract execute

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

Defined in src/widgets/au-widget-canvas/Commands/command.ts:20

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›