Skip to content

Version 1.3.0

Compare
Choose a tag to compare
@craigh411 craigh411 released this 17 Apr 12:20
· 101 commits to master since this release

Version 1.3.0 adds support for v-model when using Vue 2.2 and above:

Markup

<star-rating v-model="boundRating"></star-rating>

View Model

import StarRating from 'vue-star-rating';

export default {
  components:{
    StarRating
  },
  data(){
    return {
     boundRating: 0
   }
  }
}

Thanks to @acro5piano for the input on this feature.