Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-radio-button

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-radio-button - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

ember-radio-button.sublime-project

9

addon/components/radio-button-input.js

@@ -6,4 +6,11 @@ import Ember from 'ember';

type: 'radio',
attributeBindings: ['type', 'checked', 'value', 'disabled']
attributeBindings: [
'type',
'checked',
'value',
'disabled',
'required',
'name'
]
});

@@ -10,2 +10,3 @@ import Ember from 'ember';

disabled: false,
scheduleChangedAction: function(){

@@ -16,10 +17,15 @@ Ember.run.schedule('actions', this, function(){

},
checked: function(){
return this.get('groupValue') === this.get('value');
}.property('groupValue', 'value'),
click: function(){
if (this.get('disabled')){ return; }
var value = this.get('value');
var groupValue = this.get('groupValue');
this.set('groupValue', value);
if (groupValue !== value){

@@ -30,2 +36,1 @@ this.scheduleChangedAction();

});

2

package.json
{
"name": "ember-radio-button",
"version": "0.1.2",
"version": "0.1.3",
"directories": {

@@ -5,0 +5,0 @@ "doc": "doc",

@@ -47,4 +47,8 @@ # ember-radio-button

## Installation
## Installing
`npm install ember-radio-button --save-dev`
## Collaborating on this repo
* `git clone` this repository

@@ -51,0 +55,0 @@ * `npm install`

@@ -6,2 +6,3 @@ import Ember from 'ember';

numbersDisabled: true,
noDefault: '',
actions: {

@@ -8,0 +9,0 @@ colorChanged: function(color){

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc