ui.Slider.onSlide

Registers a callback that's fired when the slider's state changes. The callback will be invoked repeatedly while the user is dragging the slider.

Returns an ID which can be passed to unlisten() to unregister the callback.

UsageReturns
Slider.onSlide(callback)String
ArgumentTypeDetails
this: ui.sliderui.SliderThe ui.Slider instance.
callbackFunctionThe callback to fire when the slider's state changes. The callback is passed the slider's current value.