@coveo/headless
    Preparing search index...

    Interface ResultsPerPage

    The ResultsPerPage controller allows the end user to choose how many results to display per page.

    interface ResultsPerPage {
        state: ResultsPerPageState;
        isSetTo(num: number): boolean;
        set(num: number): void;
        subscribe(listener: () => void): Unsubscribe;
    }

    Hierarchy (View Summary)

    Index

    The state of the ResultsPerPage controller.