mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Slider: add options for event callbacks
This commit is contained in:
parent
18b8ffd796
commit
b477098da5
@ -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
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
8
ui/jquery.ui.slider.js
vendored
8
ui/jquery.ui.slider.js
vendored
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user