Closed rudy1976s closed 1 year ago
+1 for adding prefix and suffix. I ran into same limitation in wNumb. Ideally, it would allow for conditional formatting.
Formatting a tooltip with a prefix can be done like this:
{ to: function(value) { return '❤️ ' + value; } }
I've added this example to the documentation: https://refreshless.com/nouislider/number-formatting/#section-tooltips
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
It would be very useful to have the possibility of adding some prefix or suffix to the tooltip. Actually it seems the only wai is to add a wNumb but it does work in combination with the classi format ( from to )
Rudy