jquery - ion.rangeSlider lock the slider to predefined values -


Is the slider an option to lock predefined values? I mean: ["7.5", "15", "35", "65", "99", "125", "150", "199", "29", " 39 9 "," 499 "],

I now only" 7.5 "to 15,35 ........................ .................................................. .................................................. .................................................. ............................... Because when I start the slider with "7.5" then it gives me 43, 79 Shows I do not want this value, the slider only transfers the given values! If you can please! ($ ('$ Range_slider_a'). Length) {$ ("# range_slider_a") IonRangeSlider ({Type: "Single", Step: 10, Postfix: "7.5", "15", "35", "65", "99", "125", "$", Min: 7.5, Max: 49 9, // to: 7.5, haset: true, value: $ ('value'); $ ('# contact_limit)', (1) "$ 1" '') .empty () .andend ('' + current_price ); $ ('# contact_price') below () .andend ('' + current_price); // Alert (current_pres);},}); }

You may be using an older version of ion. Try this example to set the slider correctly:

  var $ range = $ (".js-range-1" slider "); $ Range.ionRangeSlider ({Type: "Single", Postfix: "$", Grid: True, Value: ["7.5", "15", "35", "65", "99", "125", " 150 "," 199 "," 299 "," 399 "," 499 "]});    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -