<div class="slider"></div>
When a slider has the .slider("pips");
method applied to it, the pips
method may also take a step
option to allow additional control over the way
pips
are stepped visually. This option has no effect on the slider's functionality.
The step
value on the .slider("pips");
method is multiplicative; meaning it will
only show every nth
step that exists from the main .slider();
method.
<div class="slider"></div>
$(".slider") .slider({ min: 0, max: 1000, step: 100 }) .slider("pips", { rest: "label", step: 2 }) .slider("float");