@coveo/headless
    Preparing search index...

    Interface Summary<State>

    The Summary sub-controller manages a summary of the current search results.

    interface Summary<State extends SummaryState = SummaryState> {
        state: State;
        subscribe(listener: () => void): Unsubscribe;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    state: State

    A scoped and simplified part of the headless state that is relevant to the SearchSummary sub-controller.