## Radio ### Install ``` javascript import { Radio } from 'vant'; 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 1 Radio 2 ``` ### Radio API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | name | Radio name | `any` | - | - | | disabled | Whether to disable radio | `Boolean` | `false` | - | ### RadioGroup API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | 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 |