Returns an ID which can be passed to unlisten() to unregister the callback.
Usage | Returns |
---|---|
Slider.onSlide(callback) | String |
Argument | Type | Details |
---|---|---|
this: ui.slider | ui.Slider | The ui.Slider instance. |
callback | Function | The callback to fire when the slider's state changes. The callback is passed the slider's current value. |