Skip to main content
cngx-src documentation

CngxPaginatorPageWindowFn

Type Aliasui/paginator

projects/ui/paginator/segments/paginator-page-window.token.ts

Description#

The page-window computation cngx-pgn-pages calls per recompute: given the current 0-based page, the total page count, and the per-instance siblingCount / boundaryCount, return the rendered PageWindow.

An override implements a different truncation algorithm while still honouring the consumer's sibling / boundary intent.

Definition#

function