CngxPaginatorFormats
projects/ui/paginator/paginator-config.ts
Import#
import { CngxPaginatorFormats } from '@cngx/ui/paginator'
Description#
Display-text formatters for the data-readout segments. Library defaults are English; consumers localise via withPaginatorRangeFormat.
Index#
Properties
Instance Properties#
Page-status text, given the 1-based current page and total page count.
The cngx-pgn-status segment renders the returned string as sanitised HTML
(the default bolds the page); it is the visible twin of the
announcements.pageChange live-region phrasing, which stays plain text.
Range-readout text, given the 1-based first item, last item, and total.
The cngx-pgn-range segment renders the returned string as sanitised HTML,
so inline emphasis (e.g. <b> around the current range) is honoured; the
default bolds the range. Angular's sanitiser strips anything unsafe.