Yes that works. Thanks.
It might be helpful to your users to include a note in the value() method's documentation, noting that it does not return the pending and/or visual state when in a slide/change event handler. (However, the slide event is already clearly documented well enough… My bad for not reading that better.)
For what it's worth, it is still a little confusing that the visual cue (the handle) is allowed to change before the value. Maybe the slide event should be called *before* the handle's pending value is rendered?
FYI, I'm coming from using Java Swing for years. In that API, a shouldChange() listener would be called separately to verify changes, before firing change events. Not saying JQuery should be like Java… just offering a possible alternative that would avoid the confusion that sometimes ui.value != value(). Or maybe ui.value could be better named ui.pendingValue?
Just minor feedback… Thanks for a great product.