Rate
Install
Usage
Basic Usage
Custom Icon
Custom Color
Custom Count
Disabled
Read Only
Custom Gutter
Listen On Change
API
Props
Attribute | Description | Type | Default | Required |
| Current rate | number | - | optional |
| Count | number | - | optional |
| Icon size | string | - | optional |
| Selected icon | string | - | optional |
| Icon gutter | string | - | optional |
| Void icon | string | - | optional |
| Whether to allow half star | boolean |
| optional |
| Whether to be readonly | boolean |
| optional |
| Whether to allow select rate by touch gesture | boolean |
| optional |
| Whether to disable rate | boolean |
| optional |
| Selected color | string | - | optional |
| Void color | string | - | optional |
| Disabled color | string | - | optional |
Event
Event | Description | Parameters |
| Triggered when rate changed | current rate |
Last updated