https://github.com/vue-bulma/rating
Rating component is based on starability.css for Vue Bulma
https://github.com/vue-bulma/rating
Last synced: 2 months ago
JSON representation
Rating component is based on starability.css for Vue Bulma
- Host: GitHub
- URL: https://github.com/vue-bulma/rating
- Owner: vue-bulma
- License: mit
- Created: 2016-07-15T15:04:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T01:10:59.000Z (over 8 years ago)
- Last Synced: 2025-04-19T17:27:20.102Z (3 months ago)
- Language: Vue
- Homepage:
- Size: 10.7 KB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rating
Rating component is based on [starability.css](http://lunarlogic.github.io/starability/) for Vue Bulma.
## Installation
```
$ npm install vue-bulma-rating --save
```## Examples
```vue
{{ value }}import Rating from 'vue-bulma-rating'
export default {
components: {
Rating
},data () {
return {
value: 2,
items: [
{
title: '5 Stars',
value: 5
},
{
title: '4 Stars',
value: 4
},
{
title: '3 Stars',
value: 3
},
{
title: '2 Stars',
value: 2
},
{
title: '1 Star',
value: 1
}
]
}
},methods: {
update (val) {
this.value = val
}
}
}```
## Badges

---
> [fundon.me](https://fundon.me) ·
> GitHub [@fundon](https://github.com/fundon) ·
> Twitter [@_fundon](https://twitter.com/_fundon)