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
This package assumes that you are using ember-cli
To install, run
npm install ember-radio-buttons --save
and that's it!
In previous versions of this addon you needed to expose the component in your app, this is no longer the case as of v4.0.0. If you have a file app/components/radio-button.js
in your own app that just exports ember-radio-buttons
it is no longer necessary but it won't break anything.
After installing this addon you will have a {{radio-button}} component that gives you a working implementation of Radio Buttons.
for this example it will call this.set('selectedNumber', value)
depending on which of the radio buttons you click.
MIT © Chris Manson @ Blooie 2015
This README outlines the details of collaborating on this Ember addon.
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.