@coveo/headless
    Preparing search index...

    Interface AttachToCase

    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.

    Use buildAttachedResults instead. // TODO: SFINT-6395 - This controller will be removed in ui-kit v4.

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

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    state: {}