Operation State
Type: Object
Operation state is represented using an object containing two boolean properties: active and enabled. These properties are usually reflected in the rendering of UI elements related to this operation.
More information can be found in our Operations concept page.
Properties
active
Type: Boolean
Whether the operation is considered "applied" in the current context. Executing the operation is likely to revert this state. Buttons of active operations display as pressed.
enabled
Type: Boolean
Whether the operation can be executed in the current context.