IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

from_pretty not working on Ion.RangeSlider 2.2.0 #556

Closed htmlasia closed 4 years ago

htmlasia commented 6 years ago

var $range = $("#proxy-slider"), $pick = $(".number");

var track = function (data) { $pick.html(data.from_pretty); };

$range.ionRangeSlider({ min: 20, max: 50000, from: 25000, prettify_separator: ", ", from_pretty: "25 k", hide_min_max: true, onStart: track, onChange: track, onFinish: track, onUpdate: track });


from_pretty: "25 k", not working. Pls help

IonDen commented 6 years ago

Hi, sorry for a long answer, was unavailable.

from_pretty is available only in result object. You can't set this.