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.

interface AttachToCase {
    state: {};
    attach(): void;
    detach(): void;
    isAttached(): boolean;
    subscribe(listener: () => void): Unsubscribe;
}

Hierarchy (View Summary)

Methods

Properties

state: {}