OperationState

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

Name Type Description
active 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 Boolean

Whether the operation can be executed in the current context.

Related links

Was this page helpful?