Giter Club home page Giter Club logo

ember-radio-buttons's Introduction

Radio buttons for Ember

Build Status

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

and that's it!

Usage

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.

{{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 2015

Collaborating

This README outlines the details of collaborating on this Ember addon.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

ember-radio-buttons's People

Contributors

mansona avatar wagenet avatar freduk avatar tehsis avatar

Watchers

James Cloos avatar  avatar

Forkers

freduk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.