g3-toolkit API Reference
    Preparing search index...

    Interface PageWindow

    Which slice of a result a view holds.

    interface PageWindow {
        offset: number;
        size: number;
        total: number;
        totalExact: boolean;
    }
    Index

    Properties

    offset: number

    Zero-based index of the first item in the window.

    size: number

    Requested page size (the window may hold fewer items at the end).

    total: number

    Total items in the result the window is cut from.

    totalExact: boolean

    Whether total is a count (true) or a backend estimate (false). Pages cut in memory are always exact.