vue-star-rating
Advanced tools
Changelog
Version 2.1.0
animate
prop added which slightly rotates and expands the star on mouseoveractive-on-click
prop applies active colors on click rather than on hover when setactive-border-color
prop, which allows border colour to be changed when star is active (issue #34)active-color
and active-border-color
now optionally accept an array of color values, which can be used as break pointsscreen-reader
scoped slot:<star-rating>
<template v-slot:screen-reader="slotProps">
This product has been rated {{slotProps.rating}} out of {{slotProps.stars}} stars
</template>
</star-rating>
Changelog
Version 2.0.0 - Vue 3!!
rating-selected
event renamed to update:rating
for use witn v-model
current-rating
event renamed to hover:rating
(note: kebab-case is usually preferred, but this format has been chosen for consistency with the update:rating event so rule ignored for star-rating.vue)vue-cli-service
now being used for builds and devChangelog
Version 1.6.1
Changelog
Version 1.6.0