Home > @i2analyze/notebook-sdk > commands > ICommandApi > createToolViewToggleCommand
commands.ICommandApi.createToolViewToggleCommand() method
Creates a command that can open and close a tool view, and registers it with the application.
Signature:
createToolViewToggleCommand(config: ICommandConfigBase, toolview: toolview.IToolView): ICommand;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
config | ICommandConfigBase | The information necessary for creating the command. |
toolview | toolview.IToolView | The tool view that the command opens or closes. |
Returns:
The registered command.