1.1.4 • Published 4 years ago

vue-easy-pager v1.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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

npm.io

Install & basic usage

npm install vue-easy-pager
<template>
  <div>
    <vue-easy-pager
      :currentPage="1"
      :totalPages="20"
      :maxPagesDisplayeds="6"
    />
  </div>
</template>

<script>
import VueEasyPager from 'vue-easy-pager';
export default {
  components: { VueEasyPager },
}
</script>
1.1.4

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago