[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions
+5 -5
View File
@@ -88,7 +88,7 @@ export default {
</van-radio-group>
```
### Radio API
### Radio Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -99,26 +99,26 @@ export default {
| label-position | Can be set to `left` | `String` | `right` |
| checked-color | Checked color | `String` | `#1989fa` | - |
### RadioGroup API
### RadioGroup Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Name of checked radio | `any` | - |
| disabled | Diable all radios | `Boolean` | `false` |
### Radio Event
### Radio Events
| Event | Description | Parameters |
|------|------|------|
| click | Triggered when click radio | event: Event |
### RadioGroup Event
### RadioGroup Events
| Event | Description | Parameters |
|------|------|------|
| change | Triggered when value changed | current value |
### Radio Slot
### Radio Slots
| Name | Description | slot-scope |
|------|------|------|