mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
docs: add version tip in en docs (#4262)
This commit is contained in:
@@ -143,24 +143,24 @@ export default {
|
||||
|
||||
### Checkbox Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| name | Checkbox name | `any` | - |
|
||||
| shape | Can be set to `square` | `string` | `round` |
|
||||
| v-model | Check status | `boolean` | `false` |
|
||||
| disabled | Diable checkbox | `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` | - |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| name | Checkbox name | `any` | - | - |
|
||||
| shape | Can be set to `square` | `string` | `round` | - |
|
||||
| v-model | Check status | `boolean` | `false` | - |
|
||||
| disabled | Diable checkbox | `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` | - | - |
|
||||
|
||||
### CheckboxGroup Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Names of all checked checkboxes | `any[]` | - |
|
||||
| disabled | Disable all checkboxes | `boolean` | `false` |
|
||||
| max | Maximum amount of checked options | `number` | `0`(Unlimited) |
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Names of all checked checkboxes | `any[]` | - | - |
|
||||
| disabled | Disable all checkboxes | `boolean` | `false` | - |
|
||||
| max | Maximum amount of checked options | `number` | `0`(Unlimited) | - |
|
||||
|
||||
### Checkbox Events
|
||||
|
||||
|
@@ -153,7 +153,7 @@ export default {
|
||||
| shape | 形状,可选值为 `square` | `string` | `round` | - |
|
||||
| v-model | 是否为选中状态 | `boolean` | `false` | - |
|
||||
| disabled | 是否禁用复选框 | `boolean` | `false` | - |
|
||||
| icon-size | 图标大小,默认单位为`px` | `string | number` | `20px` | 2.0.0 |
|
||||
| icon-size | 图标大小,默认单位为`px` | `string | number` | `20px` | - |
|
||||
| label-disabled | 是否禁用复选框文本点击 | `boolean` | `false` | - |
|
||||
| label-position | 文本位置,可选值为 `left` | `string` | `right` | - |
|
||||
| checked-color | 选中状态颜色 | `string` | `#1989fa` | - |
|
||||
|
Reference in New Issue
Block a user