1.0.2 • Published 6 years ago
vue-star-score v1.0.2
vue-star-score
Install
npm i vue-star-score --saveAPI
| Property | Description | type | Default |
|---|---|---|---|
| count | star count | number | 5 |
| disabled | read only, unable to interact | boolean | false |
| font-size | set the font size of character | string | 22px |
| type | there are 2 cute types of iconfont by default, star and heart | string | star |
| color | color of the active values | string | #ffcc60 |
| on-change | callback when select value | Function(value: number) | - |
License
MIT © xueleilei