lokyoung / vuejs-paginate

A Vue.js(v2.x+) component for creating pagination.
MIT License
778 stars 171 forks source link

PageCount prop should be an Array #123

Open AbidemiT opened 4 years ago

AbidemiT commented 4 years ago

PageCount prop should be an Array taking in Number and String e.g.

props: { pageCount: { type: [Number, String], required: true } }

This can come in handy if the value being passed comes from another variable or data attribute instead of a hard-coded number.