Overview
Selector
[qzPagination]
| Input |
Type |
Default |
Required |
Description |
pageCount |
number |
DEFAULT_PAGINATION_CONFIG.pageCount |
|
Transform normalizeCount; reads as number. |
disabled |
unknown |
false |
|
Transform booleanAttribute; reads as boolean. |
Models
Two-way bindings: each model is an input and emits the matching change output.
| Model |
Type |
Default |
Required |
Change output |
Description |
page |
number |
DEFAULT_PAGINATION_CONFIG.page |
|
pageChange |
|
Properties
| Name |
Type |
Description |
readonly currentPage |
Signal<number | null> |
|
readonly isDisabled |
Signal<boolean> |
|
Public methods
setPage
setPage(page: number, action?: "first" | "previous" | "next" | "last", event?: Event): void
| Parameter |
Type |
Optional |
Description |
page |
number |
|
|
action |
'first' | 'previous' | 'next' | 'last' |
Yes |
|
event |
Event |
Yes |
|
first
first(event?: Event): void
| Parameter |
Type |
Optional |
Description |
event |
Event |
Yes |
|
previous
previous(event?: Event): void
| Parameter |
Type |
Optional |
Description |
event |
Event |
Yes |
|
next
next(event?: Event): void
| Parameter |
Type |
Optional |
Description |
event |
Event |
Yes |
|
last
last(event?: Event): void
| Parameter |
Type |
Optional |
Description |
event |
Event |
Yes |
|
controlDisabled
controlDisabled(action: "first" | "previous" | "next" | "last"): boolean
| Parameter |
Type |
Optional |
Description |
action |
'first' | 'previous' | 'next' | 'last' |
|
|
pageDisabled
pageDisabled(): boolean
isCurrent
isCurrent(page: number): boolean
| Parameter |
Type |
Optional |
Description |
page |
number |
|
|