Pagination API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
max-page | string | 0 | Total number of pages. |
current-page | string | 1 | Currently active page number. |
loading | boolean | false | Shows a loading state. |
label | string | "Pagination Menu" | Screen reader label for the pagination landmark. |
Events
| Event | Description | Returns | |
|---|---|---|---|
change | Fires when a page number is clicked. | { detail: { page: number } } | |