Skip to main content
cngx-src documentation

withPaginatorPageSizeOptions

Functionui/paginatorv0.1.0

projects/ui/paginator/paginator-config.ts

Description#

Supply the default items-per-page choices for the cngx-pgn-page-size dropdown app-wide. The segment renders these when no per-instance [options] is bound; a non-empty [options] input still wins. The list replaces the library default wholesale - it is one atomic value, not a merged sub-tree.

provideCngxPaginatorConfig(
  withPaginatorPageSizeOptions([12, 24, 48]),
);

Signature#

withPaginatorPageSizeOptions(payload)

Parameters#

@parampayload

Returns#

CngxPaginatorConfigFeature