@coveo/headless
    Preparing search index...

    Interface FacetManager

    The FacetManager controller helps reorder facets to match the most recent search response.

    Example: facet-manager.fn.tsx

    interface FacetManager {
        state: FacetManagerState;
        sort<T>(facets: FacetManagerPayload<T>[]): FacetManagerPayload<T>[];
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    The state of the CoreFacetManager controller.