wired-radio-group
v1.0.0arrow_drop_downv1.0.0
v0.9.2
STATUS
Passing
DOWNLOADS
13
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 years ago
SIZE
9 KB
Allows user to select at most one radio button from a set.
1 contributor
Like
Install wired-radio-group as a package?
Copied
npm i @bit/wiredjs.wired-elements.wired-radio-group
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example 
modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout

chevron_left
chevron_right
wired-radio-group
Allows user to select at most one radio button from a set. Works with wired-radio.
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-radio to your project:
npm i wired-radio-group
Import wired-radio-group definition into your HTML page:
<script type="module" src="wired-radio-group/lib/wired-radio-group.js"></script>
Or into your module script:
import { WiredRadioGroup } from "wired-radio-group"
Use it in your web page:
<wired-radio-group selected="two">
<wired-radio name="one">One</wired-radio>
<wired-radio name="two">Two</wired-radio>
<wired-radio name="three">Three</wired-radio>
<wired-radio name="four">Four</wired-radio>
</wired-radio-group>
Properties
selected - Named of the selected radio button.
Events
selected Event fired when user changes selection