Appearance
jio-pagination
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| currentPage | The current page number. | number | - | |
| totalPages | The total number of pages. | number | - | |
| setPage | The function triggered by page navigation buttons | TSFunctionType | - |
Slots
| Name | Description | Bindings |
|---|---|---|
| prev-page-icon | Place an <svg> or <jio-icon> inside me | |
| next-page-icon | Place an <svg> or <jio-icon> inside me |
General
This is the standard pagination component.
Code examples
- {{ user.id }} - {{ user.name }}