Home > @i2analyze/notebook-sdk > commands > ICommandConfig > onExecute
commands.ICommandConfig.onExecute() method
Runs when the command is executed.
Signature:
onExecute(payload: CommandPayloadMap[TCommandType]): void;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
payload | CommandPayloadMap[TCommandType] | The payload that i2 Notebook provides to the command. |
Returns:
void