@coveo/headless
    Preparing search index...

    Interface SearchStatusState

    A scoped and simplified part of the headless state that is relevant to the SearchStatus controller.

    interface SearchStatusState {
        firstSearchExecuted: boolean;
        hasError: boolean;
        hasResults: boolean;
        isLoading: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    firstSearchExecuted: boolean

    Determines if a first search has been executed.

    hasError: boolean

    true if there is an error for the last executed query and false otherwise.

    hasResults: boolean

    Determines if there are results available for the last executed query.

    isLoading: boolean

    Determines if a search is in progress.