@coveo/headless
    Preparing search index...

    Interface ResultsPerPage

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

    Example: results-per-page.fn.tsx

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

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    The state of the ResultsPerPage controller.