1.0.0 • Published 3 years ago

vue-paging-simple v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Version: 1.0.0

Usage

Install the package

    npm install vue-paging-simple

Import the module in the place you want to use:

    import SimplePaging from 'vue-paging-simple'

Wrap you content in this component:

Snippet

    <SimplePaging
        :totals="200"
        :limit="10"
        :section="5"
        v-model="currentPage"
    />
    // display 10 line/page,  5 page/section

Props

The following props are accepted:

totals

Total record (Number)

limit

Number data in page. Default 10

section

Number section in display. Default 5

v-model

Current page

License

MIT