Socket
Socket
Sign inDemoInstall

ember-radio-buttons

Package Overview
Dependencies
300
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-radio-buttons

Implementation of radio buttons for Ember


Version published
Weekly downloads
795
decreased by-11.47%
Maintainers
1
Install size
21.8 MB
Created
Weekly downloads
 

Readme

Source

ember-radio-buttons

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

Compatibility

  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

ember install ember-radio-buttons

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.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Last updated on 10 Nov 2019

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