Paginate API
API reference docs for the Stash Paginate
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import Paginate from '@leaflink/stash/Paginate.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
currentPage | number | 1 | Current page number |
listLength | number | 1 | Total number of items in list |
pageSize | number | 50 | Number of items per page |
Slots
None
Events
Name | Description |
---|---|
set-page | Emitted when the page number changes. |