• The page numbers to show for page of total pages: boundaries pages at each end, siblings on each side of the current page, and an ELLIPSIS wherever pages are skipped. Near either end the window slides instead of shrinking, so the list keeps a stable width. Shared by the pagination enhancer and every framework binding so all four agree on the shape.

    Parameters

    • page: number
    • total: number
    • siblings: number = 1
    • boundaries: number = 1

    Returns PaginationEntry[]