wpsolr
Keymaster
# 3 weeks, 5 days ago

Our slider is built on the ion.rangeSlider: http://ionden.com/a/plugins/ion.rangeSlider/demo.html

You can use all the ion.rangeSlider javascript options in the facet javascript text area:

Facets slider javascript settings

For instance, to display 3 decimals:

wpsolr_ion_range_slider_options = { 
   type: "double",
   grid: false,
   prefix: "€",
   prettify_enabled: true,
   prettify: function (num) {
        return Number.parseFloat(num).toFixed(3);
   }
};