Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vue-bulma/rating
Rating component is based on starability.css for Vue Bulma
https://github.com/vue-bulma/rating
Last synced: about 1 month 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T01:10:59.000Z (almost 8 years ago)
- Last Synced: 2024-11-11T20:33:14.576Z (about 1 month ago)
- Language: Vue
- Homepage:
- Size: 10.7 KB
- Stars: 12
- Watchers: 2
- 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
![](https://img.shields.io/badge/license-MIT-blue.svg)
![](https://img.shields.io/badge/status-stable-green.svg)---
> [fundon.me](https://fundon.me) ·
> GitHub [@fundon](https://github.com/fundon) ·
> Twitter [@_fundon](https://twitter.com/_fundon)