mirror of https://github.com/ElemeFE/element
Radio: fix doc, text-color,fill are Radio-group's props
parent
51fab8641f
commit
b421556144
|
@ -124,6 +124,8 @@ name | native 'name' attribute | string | — | —
|
|||
Attribute | Description | Type | Accepted Values | Default
|
||||
---- | ---- | ---- | ---- | ----
|
||||
size | the size of radio buttons | string | large/small | —
|
||||
fill | border and background color when button is active | string | — | #20a0ff |
|
||||
text-color | font color when button is active | string | — | #ffffff |
|
||||
|
||||
### Radio-group Events
|
||||
|
||||
|
@ -137,7 +139,5 @@ change | triggers when the bound value changes | the label value of the chosen r
|
|||
---- | ---- | ---- | ---- | ----
|
||||
label | the value of radio | string/number | — | —
|
||||
disabled | whether radio is disabled | boolean | — | false
|
||||
fill | border and background color when button is active | string | — | #20a0ff |
|
||||
text-color | font color when button is active | string | — | #ffffff |
|
||||
|
||||
|
||||
|
|
|
@ -127,6 +127,8 @@
|
|||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
|---------- |-------- |---------- |------------- |-------- |
|
||||
| size | Radio 按钮组尺寸 | string | large, small | — |
|
||||
| fill | 按钮激活时的填充色和边框色 | string | — | #20a0ff |
|
||||
| text-color | 按钮激活时的文本颜色 | string | — | #ffffff |
|
||||
|
||||
### Radio-group Events
|
||||
| 事件名称 | 说明 | 回调参数 |
|
||||
|
@ -138,5 +140,3 @@
|
|||
|---------- |-------- |---------- |------------- |-------- |
|
||||
| label | Radio 的 value | string,number | — | — |
|
||||
| disabled | 是否禁用 | boolean | — | false |
|
||||
| fill | 按钮激活时的填充色和边框色 | string | — | #20a0ff |
|
||||
| text-color | 按钮激活时的文本颜色 | string | — | #ffffff |
|
||||
|
|
Loading…
Reference in New Issue