Slider Review
Slider Review
The following observations are from the range demo in current SVN:
Callback events are sliderstart, sliderslide, sliderstop, sliderchange. Seems like they should be slidestart, slide, slidestop, slidechange.
In the slide callback the value in the ui hash represents where the mouse is, but there is no way to find out where the handle actually is.
$('#slider-ranger').bind('sliderslide', function(ev, ui) {
// ui contains handle and value properties
if (ui.value > 80) { return false; }
});
In the stop callback the value is 0 instead of the actual value.
$('#slider-range').bind('sliderstop', function(ev, ui) {
// ui.value always == 0
});