Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
ember-cli-nouislider
Advanced tools
Ember range-slider component powered by nouislider
Weekly downloads
Readme
This ember-cli addon provides you with a range-slider component, based on noUiSlider. It includes everything you need, and adds no extra dependencies other than noUiSlider itself (which has no external dependencies).
To get started simply install the addon:
$ ember install ember-cli-nouislider
This will install nouislider
via Bower, and will include it into your application's
mergetree, so you don't need to worry about anything there.
Have a look around then demo and documentation to get a feel for how to use it.
You have the opportunity to customize if needed.
To do this, generate your own component and re-export the one provided:
$ ember g component range-slider
// app/components/range-slider.js
import RangeSlider from 'ember-cli-nouislider/components/range-slider';
export default RangeSlider;
Include the slider into your views like this:
{{range-slider start=someValue on-change=(action "changedAction")}}
And setup an action handler in your route:
// app/routes/my-route.js
import Controller from '@ember/controller';
import { debug } from '@ember/debug';
export default Controller.extend({
// ...
actions: {
// ...
changedAction: function(value) {
debug( `New slider value: ${value}`);
}
}
});
See the documentation for more actions.
The component has a lot of configurable options, most of them mapping directly
to the original options.
To see how the slider is initialized internally, please have a look at
app/components/range-slider.js
in this project, or browse through the
documentation.
This project is licensed under the MIT License.
FAQs
Ember range-slider component powered by nouislider
The npm package ember-cli-nouislider receives a total of 1,565 weekly downloads. As such, ember-cli-nouislider popularity was classified as popular.
We found that ember-cli-nouislider 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.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.