:: BASE_DOC ::
API
Radio Props
name |
type |
default |
description |
required |
placement |
String |
left |
options:left/right |
N |
allow-uncheck |
Boolean |
false |
- |
N |
block |
Boolean |
true |
- |
N |
checked |
Boolean |
false |
- |
N |
default-checked |
Boolean |
undefined |
uncontrolled property |
N |
content | String / Slot | - | - | N
content-disabled | Boolean | false | - | N
disabled | Boolean | undefined | - | N
external-classes | Array | - | ['t-class', 't-class-icon', 't-class-label', 't-class-content', 't-class-border']
| N
icon | String / Array | 'circle' | Typescript:'circle' \| 'line' \| Array<string>
| N
label | String / Slot | - | - | N
max-content-row | Number | 5 | - | N
max-label-row | Number | 3 | - | N
name | String | - | - | N
value | String / Number / Boolean | false | Typescript:T
| N
Radio Events
name |
params |
description |
change |
(checked: boolean) |
- |
RadioGroup Props
name |
type |
default |
description |
required |
placement |
String |
left |
options:left/right |
N |
borderless |
Boolean |
false |
- |
N |
disabled |
Boolean |
undefined |
- |
N |
icon |
String / Array |
'circle' |
Typescript:'circle' | 'line' | Array<string> |
N |
keys | Object | - | Typescript:KeysType
| N
name | String | - | - | N
options | Array | - | Typescript:Array<RadioOption>
type RadioOption = string \| number \| RadioOptionObj
interface RadioOptionObj { label?: string; value?: string \| number; disabled?: boolean }
。see more ts definition | N
value | String / Number / Boolean | - | Typescript:T
| N
default-value | String / Number / Boolean | undefined | uncontrolled property。Typescript:T
| N
RadioGroup Events
name |
params |
description |
change |
(value: T) |
- |