Directory

← Back

wired-radio-group

Allows user to select at most one radio button from a set. Works with wired-radio.

Author

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/wiredjs/wired-radio-group on 2019-05-10 ]

wired radio group

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

Learn about web components here.

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/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" text="Radio One"></wired-radio>
  <wired-radio name="two" text="Radio Two"></wired-radio>
  <wired-radio name="three" text="Radio Three"></wired-radio>
</wired-radio-group>

Properties

selected - Named of the selected radio button.

Events

selected Event fired when user changes selection

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • polymer#Polymer/polymer#^2.0.0
  • wired-lib#^0.1.0
  • wired-radio#^0.1.1
Released
2017-08-26
Maturity
IMPORTED
License
MIT License

Compatibility

Framework
Polymer 2.0+
Browser
Browser Independent

wired-radio-group - Vaadin Add-on Directory

Allows user to select at most one radio button from a set. Works with wired-radio. wired-radio-group - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/wiredjs/wired-radio-group](https://github.com//wiredjs/wired-radio-group/blob/v0.5.0/README.md) on 2019-05-10 ]** ![wired radio group](https://wiredjs.github.io/wired-elements/images/radio-group.png) # wired-radio-group Allows user to select at most one radio button from a set. Works with [wired-radio](https://github.com/wiredjs/wired-radio). For demo and view the complete set of wired-elememts: [wiredjs.com](http://wiredjs.com/) Learn about web components [here](https://www.webcomponents.org/introduction). ## Usage Add wired-radio to your project: ``` npm i wired-radio-group ``` Import wired-radio-group definition into your HTML page: ```html ``` Or into your module script: ```javascript import { WiredRadioGroup } from "wired-radio-group" ``` Use it in your web page: ```html ``` ### Properties **selected** - Named of the selected radio button. ### Events **selected** Event fired when user changes selection
Online