Radio buttons for Ember
This addon gives you radio buttons and button groups for EmberJS
This repo is just using the work of FellowMD and packaging up his implementation of radio button helpers. Further discussion on this issue can be found here
Install
This package assumes that you are using ember-cli
To install, run
npm install ember-radio-buttons --save-dev
and that's it!
Usage
This ember-addon exposes a {{radio-button}} handlebars helper that gives you a working implementation of Radio Buttons
{{radio-button value='one' checked=selectedNumber}}
{{radio-button value='two' checked=selectedNumber}}
for this example it will call this.set('selectedNumber', value)
depending on which of the radio buttons you click.
License
MIT © Chris Manson @ Blooie 2014