@coveo/headless
    Preparing search index...

    Interface InstantResults

    The InstantResults controller allows the end user to manage instant results queries.

    Example: instant-results.fn.tsx

    interface InstantResults {
        state: InstantResultsState;
        clearExpired(): void;
        subscribe(listener: () => void): Unsubscribe;
        updateQuery(q: string): void;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    The state of the InstantResults controller.