Hey everyone,
I started using the Slider widget in our project. The minimum value, maximum value and step size can all be set to dynamic values, which makes it perfect for our project 9where we allow users to configure the range of the slider used.
However, the Number of markers is a static value. I would rather be able to set this dynamic as well, allowing it to show every value on our dynamic range for example.
If JavaScript is used to create a slider, you can write a function that will update the number of markers and their positions in response to changes in the parameters of the minimum value, maximum value and step size. This allows you to dynamically adjust the slider depending on the values entered by the user.