Rate
Install
Usage
Basic Usage
Custom Icon
Custom Style
Half Star
Custom Count
Disabled
Readonly
API
Props
| Attribute |
Description |
Type |
Default |
| v-model |
Current rate |
Number |
- |
| count |
Count |
Number |
5 |
| size |
Icon size |
`String |
Number` |
| gutter |
Icon gutter |
`String |
Number` |
| color |
Selected color |
String |
#ffd21e |
| void-color |
Void color |
String |
#c7c7c7 |
| icon |
Selected icon |
String |
star |
| void-icon |
Void icon |
String |
star-o |
| allow-half |
Whether to allow half star |
Boolean |
false |
| readonly |
Whether to be readonly |
Boolean |
false |
| disabled |
Whether to disable rate |
Boolean |
false |
| disabled-color |
Disabled color |
String |
#bdbdbd |
Events
| Event |
Description |
Parameters |
| change |
Triggered when rate changed |
current rate |