## Radio ### Install ``` javascript import { RadioGroup, Radio } from 'vant'; Vue.use(RadioGroup); Vue.use(Radio); ``` ### Usage #### Basic Usage Use `v-model` to bind the name of checked radio ```html Radio 1 Radio 2 ``` ```javascript export default { data() { return { radio: '1' } } }; ``` #### Disabled ```html Radio 1 Radio 2 ``` #### Inside a Cell ```html ``` ### Radio API | Attribute | Description | Type | Default | |-----------|-----------|-----------|-------------| | name | Radio name | `any` | - | | disabled | Whether to disable radio | `Boolean` | `false` | ### RadioGroup API | Attribute | Description | Type | Default | |-----------|-----------|-----------|-------------| | v-model | Name of checked radio | `any` | - | | disabled | Diable all radios | `Boolean` | `false` | ### RadioGroup Event | Event | Description | Parameters | |-----------|-----------|-----------| | change | Triggered when value changed | current value |