Skip to content

Commit

Permalink
Merge branch 'release/v1.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
SinanMtl committed Sep 4, 2017
2 parents 768e224 + 155df99 commit 818a656
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ Use HTML template
<Rate :length="5" :value="2" :disabled="true"></Rate>
```

- `readonly {boolean}`: Read-only rate.

```html
<Rate :length="5" :value="2" :readonly="true"></Rate>
```

## Events

```javascript
Expand Down
2 changes: 1 addition & 1 deletion Rate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
export default {
name: 'rate',
props: {
value: {type: Number},
value: {type: [Number, String]},
name: {type: String, default: 'rate'},
length: {type: Number},
showcount: {type: Boolean},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-rate",
"version": "1.3.0",
"version": "1.3.1",
"description": "Rate component for Vue",
"main": "Rate.vue",
"scripts": {
Expand Down

0 comments on commit 818a656

Please sign in to comment.