mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Progressbar: Define defaults for callbacks.
This commit is contained in:
parent
1e5662ebe5
commit
8c763cdf98
@ -5,6 +5,8 @@ TestHelpers.commonWidgetTests( "progressbar", {
|
|||||||
max: 100,
|
max: 100,
|
||||||
|
|
||||||
//callbacks
|
//callbacks
|
||||||
|
change: null,
|
||||||
|
complete: null,
|
||||||
create: null
|
create: null
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
5
ui/jquery.ui.progressbar.js
vendored
5
ui/jquery.ui.progressbar.js
vendored
@ -17,8 +17,11 @@
|
|||||||
$.widget( "ui.progressbar", {
|
$.widget( "ui.progressbar", {
|
||||||
version: "@VERSION",
|
version: "@VERSION",
|
||||||
options: {
|
options: {
|
||||||
|
max: 100,
|
||||||
value: 0,
|
value: 0,
|
||||||
max: 100
|
|
||||||
|
change: null,
|
||||||
|
complete: null
|
||||||
},
|
},
|
||||||
|
|
||||||
min: 0,
|
min: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user