@coveo/headless
    Preparing search index...

    Interface HistoryManager

    The HistoryManager controller is in charge of allowing navigating back and forward in the search interface history.

    Example: history-manager.fn.tsx

    interface HistoryManager {
        state: HistoryManagerState;
        back(): Promise<void>;
        backOnNoResults(): Promise<void>;
        forward(): Promise<void>;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    The state relevant to the HistoryManager controller.