can-event-dom-radiochange

Custom radiochange event

Usage no npm install needed!

<script type="module">
  import canEventDomRadiochange from 'https://cdn.skypack.dev/can-event-dom-radiochange';
</script>

README

can-event-dom-radiochange

Join our Slack Join our Discourse License: MIT npm version Travis build status Greenkeeper badge

A custom event for listening to changes of inputs with type "radio", which fires when a conflicting radio input changes. A "conflicting" radio button has the same "name" attribute and exists within in the same form, or lack thereof. This event coordinates state bound to whether a radio is checked. The "change" event does not fire for deselected radios. By using this event instead, deselected radios receive notification.

Documentation

Read the can-event-dom-radiochange API docs on CanJS.com.

Changelog

See the latest releases on GitHub.

Contributing

The contribution guide has information on getting help, reporting bugs, developing locally, and more.

License

MIT