File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ Rate component.
14
14
15
15
## API
16
16
17
- | Property | Description | type | Default |
18
- | --- | --- | --- | --- |
19
- | allowClear | whether to allow clear when click again | boolean | true |
20
- | allowHalf | whether to allow semi selection | boolean | false |
21
- | autofocus | get focus when component mounted | boolean | false |
22
- | character | custom character of rate | String or slot="character" | ` <StarOutlined /> ` |
23
- | count | star count | number | 5 |
24
- | disabled | read only, unable to interact | boolean | false |
25
- | tooltips | Customize tooltip by each character | string\ [] | - |
26
- | value(v-model) | current value | number | - |
17
+ | Property | Description | type | Default |
18
+ | -------------- | --------------------------------------- | -------------- | --------------- --- |
19
+ | allowClear | whether to allow clear when click again | boolean | true |
20
+ | allowHalf | whether to allow semi selection | boolean | false |
21
+ | autofocus | get focus when component mounted | boolean | false |
22
+ | character | custom character of rate | string \| slot | ` <StarOutlined /> ` |
23
+ | count | star count | number | 5 |
24
+ | disabled | read only, unable to interact | boolean | false |
25
+ | tooltips | Customize tooltip by each character | string[ ] | - |
26
+ | value(v-model) | current value | number | - |
27
27
28
28
### events
29
29
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ cover: https://gw.alipayobjects.com/zos/alicdn/R5uiIWmxe/Rate.svg
15
15
16
16
## API
17
17
18
- | 属性 | 说明 | 类型 | 默认值 |
19
- | -------------- | ---------------------- | -------------------------- | ------------------ |
20
- | allowClear | 是否允许再次点击后清除 | boolean | true |
21
- | allowHalf | 是否允许半选 | boolean | false |
22
- | autofocus | 自动获取焦点 | boolean | false |
23
- | character | 自定义字符 | String or slot="character" | ` <StarOutlined /> ` |
24
- | count | star 总数 | number | 5 |
25
- | disabled | 只读,无法进行交互 | boolean | false |
26
- | tooltips | 自定义每项的提示信息 | string\[ ] | - |
27
- | value(v-model) | 当前数,受控值 | number | - |
18
+ | 属性 | 说明 | 类型 | 默认值 |
19
+ | -------------- | ---------------------- | -------------- | ------------------ |
20
+ | allowClear | 是否允许再次点击后清除 | boolean | true |
21
+ | allowHalf | 是否允许半选 | boolean | false |
22
+ | autofocus | 自动获取焦点 | boolean | false |
23
+ | character | 自定义字符 | string \| slot | ` <StarOutlined /> ` |
24
+ | count | star 总数 | number | 5 |
25
+ | disabled | 只读,无法进行交互 | boolean | false |
26
+ | tooltips | 自定义每项的提示信息 | string[ ] | - |
27
+ | value(v-model) | 当前数,受控值 | number | - |
28
28
29
29
### 事件
30
30
You can’t perform that action at this time.
0 commit comments