Slider.on_value_changed

Slider.on_value_changed(value)[source]

Handle value changes for the bound attribute.

This method is called when the component’s value changes. It updates the bound attribute and calls the action function if one was provided.

Parameters:
valuefloat

The new value to set.