wired-radio-group
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.0 • Public • Published

    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

    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

    License

    MIT License (c) Preet Shihn

    Install

    npm i wired-radio-group

    DownloadsWeekly Downloads

    13

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    13.6 kB

    Total Files

    7

    Last publish

    Collaborators

    • shihn