Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 574 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 574 Bytes

Flexible scale extension to jqueryui slider. Inspired by http://simeydotme.github.io/jQuery-ui-Slider-Pips/

Simplified, performant. Accepts options (min, max, step) which decouples it from jqueryui slider options.

###Preview Preview

###Usage

<div id="slider"></div>
$('#slider').slider('scale', {
    min: 200, max: 800, step: 150,
    formatLabel: function(value) {
        return '<span class="label">' + value + '</span>'
    }
});