Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ember-radio-button
Advanced tools
ember-cli addon for an Ember radio-button
component.
It allows a group of radio buttons with different value
properties
to be compared to a single property called groupValue
.
Clicking on the component will set groupValue
to value
. The radio
button will be in a checked state when groupValue === value
.
The component exposes a changed
action that allows you to do something
when clicking one of your radio buttons results in groupValue
changing.
This is useful if you want to autosave a model in response to a user action,
rather than with an observer.
To install this addon in your ember-cli project, use npm install ember-radio-button --save-dev
.
Run the dummy app for examples and documentation.
Handlebars:
{{#radio-button value="green" groupValue=color changed="colorChanged"}}
Green
{{/radio-button}}
{{#radio-button value="blue" groupValue=color changed="colorChanged"}}
Blue
{{/radio-button}}
Results in:
<span id="ember336" class="ember-view radio-button">
<label>
<input id="ember345" class="ember-view" type="radio" value="green">
Green
</label>
</span>
<span id="ember347" class="ember-view radio-button checked">
<label>
<input id="ember348" class="ember-view" type="radio" value="blue">
Blue
</label>
</span>
This README outlines the details of collaborating on this Ember addon.
npm install ember-radio-button --save-dev
git clone
this repositorynpm install
bower install
ember server
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
FAQs
provides a radio-button component
We found that ember-radio-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.