docs: type highlight (#4264)
This commit is contained in:
+9
-9
@@ -109,20 +109,20 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| name | Radio name | `any` | - | - |
|
||||
| shape | Can be set to `square` | `string` | `round` | - |
|
||||
| disabled | Whether to disable radio | `boolean` | `false` | - |
|
||||
| icon-size | Icon size | `string | number` | `20px` | - |
|
||||
| label-disabled | Whether to disable label click | `boolean` | `false` | - |
|
||||
| label-position | Can be set to `left` | `string` | `right` | - |
|
||||
| checked-color | Checked color | `string` | `#1989fa` | - | - |
|
||||
| name | Radio name | *any* | - | - |
|
||||
| shape | Can be set to `square` | *string* | `round` | - |
|
||||
| disabled | Whether to disable radio | *boolean* | `false` | - |
|
||||
| icon-size | Icon size | *string \| number* | `20px` | - |
|
||||
| label-disabled | Whether to disable label click | *boolean* | `false` | - |
|
||||
| label-position | Can be set to `left` | *string* | `right` | - |
|
||||
| checked-color | Checked color | *string* | `#1989fa` | - | - |
|
||||
|
||||
### RadioGroup Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Name of checked radio | `any` | - | - |
|
||||
| disabled | Diable all radios | `boolean` | `false` | - |
|
||||
| v-model | Name of checked radio | *any* | - | - |
|
||||
| disabled | Diable all radios | *boolean* | `false` | - |
|
||||
|
||||
### Radio Events
|
||||
|
||||
|
||||
@@ -115,20 +115,20 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| name | 标识符 | `any` | - | - |
|
||||
| shape | 形状,可选值为 `square` | `string` | `round` | - |
|
||||
| disabled | 是否为禁用状态 | `boolean` | `false` | - |
|
||||
| icon-size | 图标大小,默认单位为`px` | `string | number` | `20px` | - |
|
||||
| label-disabled | 是否禁用文本内容点击 | `boolean` | `false` | - |
|
||||
| label-position | 文本位置,可选值为 `left` | `string` | `right` | - |
|
||||
| checked-color | 选中状态颜色 | `string` | `#1989fa` | - |
|
||||
| name | 标识符 | *any* | - | - |
|
||||
| shape | 形状,可选值为 `square` | *string* | `round` | - |
|
||||
| disabled | 是否为禁用状态 | *boolean* | `false` | - |
|
||||
| icon-size | 图标大小,默认单位为`px` | *string \| number* | `20px` | - |
|
||||
| label-disabled | 是否禁用文本内容点击 | *boolean* | `false` | - |
|
||||
| label-position | 文本位置,可选值为 `left` | *string* | `right` | - |
|
||||
| checked-color | 选中状态颜色 | *string* | `#1989fa` | - |
|
||||
|
||||
### RadioGroup Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前选中项的标识符 | `any` | - | - |
|
||||
| disabled | 是否禁用所有单选框 | `boolean` | `false` | - |
|
||||
| v-model | 当前选中项的标识符 | *any* | - | - |
|
||||
| disabled | 是否禁用所有单选框 | *boolean* | `false` | - |
|
||||
|
||||
### Radio Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user