The AttachToCase controller is responsible for handling the attach and detach actions on a specific result. It also provides a function isAttached to verify if currently a specific result is part of the attachedResults state.
isAttached
Attach a new result by adding it to the attachedResults state.
Detach a result by removing it from the attachedResults state.
Check if a specific result is part of the list of AttachedResults in the state.
A boolean indicating if the result is attached.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
Readonly
The AttachToCase controller is responsible for handling the attach and detach actions on a specific result. It also provides a function
isAttached
to verify if currently a specific result is part of the attachedResults state.