Pagination
Description
The Pagination widget displays a simple pagination system allowing the user to change the current page.
Options
Attribute | Type | Description |
---|---|---|
totalPages? |
number |
Maximum number of pages to display |
showFirst? |
boolean |
Display the first page link |
showLast? |
boolean |
Display the last page link |
showPrevious? |
boolean |
Display the previous page link |
showNext? |
boolean |
Display the next page link |
padding? |
number |
How many page links to display around the current page |
Code example
<ais-pagination></ais-pagination>