Paginate
Paginate is a component that displays the number of pages and allows the user to navigate between them
Basic Usage
The Paginate
component accepts the currentPage, listLength and pageSize properties. And emits a set-page
event when another page is selected
Current page is 1
vue
<Paginate :current-page="currentPage" :list-length="100" :page-size="10" @set-page="currentPage = $event" />
API
See the documentation below for a complete reference to all the props and classes available to the components mentioned here.