Skip to content

paveltyavin/multirangeslider

Repository files navigation

multirangeslider

[Build Status] (https://travis-ci.org/paveltyavin/multirangeslider)

Slider for multiple ranges.

slider

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.

Licence

MIT