@coveo/headless-react
    Preparing search index...

    Interface RecommendationsSummaryState

    interface RecommendationsSummaryState {
        firstProduct: number;
        firstRequestExecuted: boolean;
        hasError: boolean;
        hasProducts: boolean;
        isLoading: boolean;
        lastProduct: number;
        totalNumberOfProducts: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    firstProduct: number

    The position of the first product on the current page.

    firstRequestExecuted: boolean

    Whether the first request has been executed.

    hasError: boolean

    Whether the request has returned an error.

    hasProducts: boolean

    Whether the request has returned any products.

    isLoading: boolean

    Whether the request is currently loading.

    lastProduct: number

    The position of the last product on the current page.

    totalNumberOfProducts: number

    The total number of products available.