Registers a callback that's fired when the slider's state changes. If the change is due to the user dragging the slider, the event will not fire until the drag completes.
Returns an ID which can be passed to unlisten() to unregister the callback.
The ui.Slider instance.
The callback to fire when the slider's state changes. The callback is passed the slider's current value and the slider widget.