Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)