multirangeslider
v0.6.0
Published
[![Build Status](https://travis-ci.org/paveltyavin/multirangeslider.svg?branch=master)] (https://travis-ci.org/paveltyavin/multirangeslider)
Downloads
10
Readme
multirangeslider
[] (https://travis-ci.org/paveltyavin/multirangeslider)
Slider for multiple ranges.
The idea comes from Elessar project. Thank you, Matt!
Main documentation is here.
Install && Usage
npm install multirangeslider
multirangeslider exports as a CommonJS (Node) module, an AMD module, or a browser global:
var multirangeslider = require('multirangeslider');
require(['multirangeslider'], function(multirangeslider) { ... });
<script src="path/to/multirangeslider.js"></script>
Create an instance with var slider = new multirangeslider
then add slider.el
to the DOM somewhere.
var slider = new multirangeslider;
var yourElement = document.getElementById('your-element');
yourElement.appendChild(slider.el);
Documentation
See this page.