<tap-radio>

单选框与单选框组。用于在一组互斥选项中进行单项选择。

Example

<tap-radio> API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
checked(checked) Yes boolean
disabled(disabled) Yes boolean
change Emitter<string>
value(value) Yes string
label(label) Yes string

Other

Type Value
Event change
Slot unnamed
CSS State delegate-focus

<tap-radio-group> API

Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
orientation(orientation) Yes 'horizontal' | 'vertical'
heading(heading) Yes string
disabled(disabled) Yes boolean
change Emitter<any>
value Yes any
options Yes Option[]

Other

Type Value
Event change
CSS State tap-list