Skip to content

Files

26 lines (20 loc) · 496 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 496 Bytes

Range Rider

This is a simple prototype and shouldn't be used in production.

Install Dependencies

Run npm install

To build

Run npm run build

Use rr.bundle.js and rr.style.css in your project

To Use

// element to attach the slider to
var anchor = document.getElementById('slider-container');

// create our dual range slider
RangeRider({
    anchor: anchor,
    range: [0, 10],
    start: [0, 10]
});

Demo

http://jsfiddle.net/narklord/gfgdpegd/