Skip to content

Releases: TahaSh/vue-paginate

Support dynamic perPage

01 Jun 16:49
Compare
Choose a tag to compare

Now you are able to use dynamic perPage, which means you can do something like this:

<input type="number" v-model="numberOfItemsPerPage">

<section v-paginate:numberOfItemsPerPage="langs">
  <ul>
    <li v-for="lang in langs">
      {{ lang }}
    </li>
  </ul>
</section>
vm = new Vue({
    el: '#app',
    data: {
      langs: [...],
      numberOfItemsPerPage: 3
    }
});

Version 2.0.0

26 May 21:32
Compare
Choose a tag to compare
Release 2.0.0

Expose current page number on the vm

03 Apr 15:23
Compare
Choose a tag to compare
v1.2.1

Refactor current page to a function

The ability to update the full list manually

29 Mar 19:23
Compare
Choose a tag to compare

This release fixes the problem of not being able to update the full version of the list manually. Like this: fullPosts = newPostsList.

This would be very useful in case you want to fetch the list asynchronously (Ajax).

Example:

this.$http.get('/posts')
  .then(function (response) {
    this.fullPosts = response.data
  }
)

Add refresh page method

07 Mar 15:31
Compare
Choose a tag to compare
v1.1.0

Add support for list filtering

v1.0.0

07 Mar 15:30
Compare
Choose a tag to compare
First commit