Slider: add options for event callbacks

This commit is contained in:
Mike Sherov 2013-01-02 14:58:12 -05:00
parent 18b8ffd796
commit b477098da5
2 changed files with 12 additions and 2 deletions

View File

@ -14,6 +14,10 @@ TestHelpers.commonWidgetTests( "slider", {
values: null, values: null,
// callbacks // callbacks
create: null create: null,
change: null,
slide: null,
start: null,
stop: null
} }
}); });

View File

@ -32,7 +32,13 @@ $.widget( "ui.slider", $.ui.mouse, {
range: false, range: false,
step: 1, step: 1,
value: 0, value: 0,
values: null values: null,
// callbacks
change: null,
slide: null,
start: null,
stop: null
}, },
_create: function() { _create: function() {