@coveo/headless
    Preparing search index...

    Interface HistoryManager

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

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

    Hierarchy (View Summary)

    Index

    The state relevant to the HistoryManager controller.