Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oraphadev/vue-easy-pager
Simple pagination component for Vue.js
https://github.com/oraphadev/vue-easy-pager
vue vuejs
Last synced: 5 days ago
JSON representation
Simple pagination component for Vue.js
- Host: GitHub
- URL: https://github.com/oraphadev/vue-easy-pager
- Owner: oraphadev
- License: mit
- Created: 2020-04-30T05:22:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T04:39:46.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T11:13:19.432Z (9 days ago)
- Topics: vue, vuejs
- Language: JavaScript
- Homepage:
- Size: 348 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Features & characteristics:
* No dependencies
* Very lean and simple
* Configurable (see props list below)## Props list
* `:currentPage` used to choose a current dynamic page.
* `:totalPages` set the total number of pages.
* `:maxPagesDisplayed` set the maximum number of pages displayed.## Events list
* `@changePage` event called when the page changes. Returns the number of the new page.## Example
![](demo/demo-vue-easy-pager.gif)## Install & basic usage
```bash
npm install vue-easy-pager
``````vue
import VueEasyPager from 'vue-easy-pager';
export default {
components: { VueEasyPager },
}```