Home > @i2analyze/notebook-sdk > commands > IAction > setEnabled
commands.IAction.setEnabled() method
Sets whether the action is enabled - that is, whether it is available for users to interact with.
Signature:
setEnabled(value: boolean): void;
Introduced: version 1.0
Parameters
Parameter | Type | Description |
---|---|---|
value | boolean | true to enable the action; false to disable it. |
Returns:
void