vue-paging-simple

1.0.0 • Public • Published

vue-paging-simple

vue-paging-simple

LIVE EXAMPLE

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

Example: 1 2 3 4 5 > >>

v-model

Current page

License

MIT

Package Sidebar

Install

npm i vue-paging-simple

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

11.6 kB

Total Files

5

Last publish

Collaborators

  • delpikye