Home > @i2analyze/notebook-sdk > commands > IAction > setToggledState
commands.IAction.setToggledState() method
Sets whether the action is toggled "on" or "off" - that is, whether it appears to be active or inactive.
Signature:
setToggledState(value: boolean): void;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
value | boolean | true to set the action's state to "on"; false to set it to "off". |
Returns:
void