While working with sliders and the bulma-slider package, I wrote some code that updates my sliders directly without firing an input event. The output element was therefore not updated, and while doing so manually might work for a few sliders, it's quite tedious when having a lot of them.
This PR therefore adds a new static method updateSliders that can be called with a list of bulmaSlider instances (as returned by attach()). It issues a fake input event to each of them to force an update of the attached output field.
While working with sliders and the bulma-slider package, I wrote some code that updates my sliders directly without firing an input event. The output element was therefore not updated, and while doing so manually might work for a few sliders, it's quite tedious when having a lot of them.
This PR therefore adds a new static method
updateSliders
that can be called with a list ofbulmaSlider
instances (as returned byattach()
). It issues a fake input event to each of them to force an update of the attached output field.