generic-radio
WAI ARIA PracticesA radio group is a set of checkable buttons, known as radio buttons, where no more than one of the buttons can be checked at a time.
API:
| name | detail |
|---|---|
| selected-changed | number |
| name | type |
|---|---|
| selected | number |
| vertical | boolean |
| disabled | boolean |
| label | string |
| name | type |
|---|---|
| selected | number |
| value | string |
| name | description |
|---|---|
| default | Provide nodes as lightdom |
| name | description |
|---|---|
| group |
| name | description |
|---|---|
| --generic-radio-border | Controls the color of the border when selected |
| --generic-radio-fill | Controls the fill color when selected |
Usage:
The radio component requires some light dom children.
Default:
Show code
foo
bar
baz
Selected:
Show code
foo
bar
baz
Vertical:
Show code
foo
bar
baz
Disabled:
Show code
foo
bar
baz
Color:
Show code
foo
bar
baz