mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
docs: update version tag
This commit is contained in:
@@ -184,27 +184,27 @@ export default {
|
||||
|
||||
### Checkbox Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| name | Checkbox name | *any* | - | - |
|
||||
| shape | Can be set to `square` | *string* | `round` | - |
|
||||
| v-model | Check status | *boolean* | `false` | - |
|
||||
| disabled | Disable checkbox | *boolean* | `false` | - |
|
||||
| label-disabled | Whether to disable label click | *boolean* | `false` | - |
|
||||
| label-position | Can be set to `left` | *string* | `right` | - |
|
||||
| icon-size | Icon size | *string \| number* | `20px` | - |
|
||||
| checked-color | Checked color | *string* | `#1989fa` | - | - |
|
||||
| bind-group | Whether to bind with CheckboxGroup | *boolean* | `true` | 2.2.4 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| name | Checkbox name | *any* | - |
|
||||
| shape | Can be set to `square` | *string* | `round` |
|
||||
| v-model | Check status | *boolean* | `false` |
|
||||
| disabled | Disable checkbox | *boolean* | `false` |
|
||||
| label-disabled | Whether to disable label click | *boolean* | `false` |
|
||||
| label-position | Can be set to `left` | *string* | `right` |
|
||||
| icon-size | Icon size | *string \| number* | `20px` |
|
||||
| checked-color | Checked color | *string* | `#1989fa` | - |
|
||||
| bind-group `v2.2.4` | Whether to bind with CheckboxGroup | *boolean* | `true` |
|
||||
|
||||
### CheckboxGroup Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Names of all checked checkboxes | *any[]* | - | - |
|
||||
| max | Maximum amount of checked options | *number* | `0`(Unlimited) | - |
|
||||
| disabled | Disable all checkboxes | *boolean* | `false` | - |
|
||||
| icon-size | Icon size of all checkboxes | *string \| number* | `20px` | 2.2.3 |
|
||||
| checked-color | Checked color of all checkboxes | *string* | `#1989fa` | - | 2.2.3 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Names of all checked checkboxes | *any[]* | - |
|
||||
| max | Maximum amount of checked options | *number* | `0`(Unlimited) |
|
||||
| disabled | Disable all checkboxes | *boolean* | `false` |
|
||||
| icon-size `v2.2.3` | Icon size of all checkboxes | *string \| number* | `20px` |
|
||||
| checked-color `v2.2.3` | Checked color of all checkboxes | *string* | `#1989fa` | - |
|
||||
|
||||
### Checkbox Events
|
||||
|
||||
|
@@ -200,27 +200,27 @@ export default {
|
||||
|
||||
### Checkbox Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| name | 标识符 | *any* | - | - |
|
||||
| shape | 形状,可选值为 `square` | *string* | `round` | - |
|
||||
| v-model | 是否为选中状态 | *boolean* | `false` | - |
|
||||
| disabled | 是否禁用复选框 | *boolean* | `false` | - |
|
||||
| label-disabled | 是否禁用复选框文本点击 | *boolean* | `false` | - |
|
||||
| label-position | 文本位置,可选值为 `left` | *string* | `right` | - |
|
||||
| icon-size | 图标大小,默认单位为`px` | *string \| number* | `20px` | - |
|
||||
| checked-color | 选中状态颜色 | *string* | `#1989fa` | - |
|
||||
| bind-group | 是否与复选框组绑定 | *boolean* | `true` | 2.2.4 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| name | 标识符 | *any* | - |
|
||||
| shape | 形状,可选值为 `square` | *string* | `round` |
|
||||
| v-model | 是否为选中状态 | *boolean* | `false` |
|
||||
| disabled | 是否禁用复选框 | *boolean* | `false` |
|
||||
| label-disabled | 是否禁用复选框文本点击 | *boolean* | `false` |
|
||||
| label-position | 文本位置,可选值为 `left` | *string* | `right` |
|
||||
| icon-size | 图标大小,默认单位为`px` | *string \| number* | `20px` |
|
||||
| checked-color | 选中状态颜色 | *string* | `#1989fa` |
|
||||
| bind-group `v2.2.4` | 是否与复选框组绑定 | *boolean* | `true` |
|
||||
|
||||
### CheckboxGroup Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 所有选中项的标识符 | *any[]* | - | - |
|
||||
| disabled | 是否禁用所有复选框 | *boolean* | `false` | - |
|
||||
| max | 最大可选数,0 为无限制 | *number* | `0` | - |
|
||||
| icon-size | 所有复选框的图标大小,默认单位为`px` | *string \| number* | `20px` | 2.2.3 |
|
||||
| checked-color | 所有复选框的选中状态颜色 | *string* | `#1989fa` | 2.2.3 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| v-model | 所有选中项的标识符 | *any[]* | - |
|
||||
| disabled | 是否禁用所有复选框 | *boolean* | `false` |
|
||||
| max | 最大可选数,0 为无限制 | *number* | `0` |
|
||||
| icon-size `v2.2.3` | 所有复选框的图标大小,默认单位为`px` | *string \| number* | `20px` |
|
||||
| checked-color `v2.2.3` | 所有复选框的选中状态颜色 | *string* | `#1989fa` |
|
||||
|
||||
### Checkbox Events
|
||||
|
||||
|
Reference in New Issue
Block a user