Skip to main content
cngx-src documentation

CngxPaginatorPageOfPages

ComponentOnPushNo encapsulationv0.1.0WCAG AA

projects/ui/paginator/segments/paginator-page-of-pages.component.ts

Import#

import { CngxPaginatorPageOfPages } from '@cngx/ui/paginator'

Description#

Page-of-pages segment. A CngxListbox dropdown of 1..totalPages; picking page n routes through host.setPage(n - 1). The option list is derived from host.totalPages() and the selected entry from host.pageIndex(), so both track the brain with zero local state (Pillar 1). Like the page-size segment it avoids native <select> and the forms family, keeping the entry @cngx/forms-free.

https://cngxjs.github.io/cngx/examples/#/ui/paginator/paginator-parts/page-of-pages/trigger

Metadata#

Dependencies#

CNGX_PAGINATOR_HOSTinject()host

Relationships

Index#

Properties

Methods

Derived State

Instance Properties#

config#unknown
ProtectedReadonly
injectPaginatorConfig()
glyphs#unknown
ProtectedReadonly
CNGX_PAGINATOR_GLYPHS

Methods#

onSelect#void
Protected
onSelect(value: number | undefined)
@paramvaluenumber | undefined