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-range-slider
Advanced tools
A horizontal slider component with two handles that allows for visually selecting a range from within a specified min and max.
This ember-cli addon provides a horizontal slider component with two handles that allows for visually selecting a range from within a specified min and max.
[TODO: Animated GIF here]
Supported interactions include pressing (or touching) and dragging either handle, as well as tapping on the slider track to adjust the nearest slider handle to the new location.
The component follows a data down / actions up approach and uses hammer.js to handle the touch and mouse interactions.
View a live demo here: http://collectrium.github.io/ember-range-slider/
{{ember-range-slider
min=rangeMin
max=rangeMax
start=start
end=end
rangeChanging=(action 'rangeSliderChanging')
rangeChanged=(action 'rangeChanged')
isSlidingChanged=(action (mut isSliding))
}}
min
and max
are numeric values that define the values associated with the left and right edge of the slider.
start
and end
are numeric values assigned to the left and right handle.
The rangeChanging
action is fired with start and end values continuously as the user slides a handle along the range.
The rangeChanged
action is fired with start and end values when a range change is "committed", i.e. when the user releases the slider handle.
The isSlidingChanged
action is fired with true
as the user begins sliding a handle and again with false
when the user releases the handle.
git clone
this repositorynpm install
bower install
ember try:testall
ember test
ember test --server
NOTE: Tests currently run successfully in-browser, but not headless in PhantomJS due to an error with new MouseEvent
. It would be fantastic to fix this.
ember server
For more information on using ember-cli, visit http://www.ember-cli.com/.
This addon was extracted from a prototype project at Collectrium. Contributions from @lukemelia, @chrislopresto and @leahdungo.
0.1.0
FAQs
A horizontal slider component with two handles that allows for visually selecting a range from within a specified min and max.
The npm package ember-range-slider receives a total of 1 weekly downloads. As such, ember-range-slider popularity was classified as not popular.
We found that ember-range-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.