Components
<AisPagination>
Page-based navigation widget for hits.
Usage
<AisInstantSearch :configuration="configuration">
<AisPagination :padding="2" :show-first="true" :show-last="true" />
</AisInstantSearch>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
padding | number | connector default | Number of page links around current page. |
totalPages | number | connector default | Optional hard page cap. |
showFirst | boolean | true | Show "first page" control. |
showLast | boolean | true | Show "last page" control. |
showNext | boolean | true | Show "next page" control. |
showPrevious | boolean | true | Show "previous page" control. |
Emits
page-changewith zero-based page number.