Socket
Socket
Sign inDemoInstall

wired-radio-group

Package Overview
Dependencies
3
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wired-radio-group

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


Version published
Weekly downloads
31
decreased by-6.06%
Maintainers
1
Install size
0.974 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 19 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc