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
Parameter | Type | Description |
---|---|---|
executionId | string | |
el | any | |
command | string | |
action | string |
Returns:
void