I would like create a range slider with these values 1, 2, 2.5, 3.5, 4, 4.5, 5, 6
is it possible?. Thanks.
I would like create a range slider with these values 1, 2, 2.5, 3.5, 4, 4.5, 5, 6
is it possible?. Thanks.
i dont thikn this is a good solution, kind of works, but is hacky
range.on('change', function (r, v) {
if (v > 2 && v <= 4.5) {
r.step = 0.5
} else {
r.step = 1
}
})