Skip to main content

Home > @jsplumbtoolkit/templates > Knockle > addCommand

Knockle.addCommand() method

Add a command - this is called during execution of a template. See pushCommands below.

Signature:

addCommand(executionId: string, el: any, command: string, action: string): void;

Parameters

ParameterTypeDescription
executionIdstring
elany
commandstring
actionstring

Returns:

void