@coveo/headless-react
    Preparing search index...

    Interface StandaloneSearchBoxState

    The state of the StandaloneSearchBox controller.

    interface StandaloneSearchBoxState {
        isLoading: boolean;
        isLoadingSuggestions: boolean;
        redirectTo: string;
        searchBoxId: string;
        suggestions: Suggestion[];
        value: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    isLoading: boolean

    Determines if a search is in progress.

    isLoadingSuggestions: boolean

    Determines if a query suggest request is in progress.

    redirectTo: string

    The URL to redirect to.

    searchBoxId: string

    The search box ID.

    suggestions: Suggestion[]

    The query suggestions for the search box query.

    value: string

    The current query in the search box.