Skip to content

Commit b10c4cd

Browse files
committed
Spinner: Define defaults for callbacks.
1 parent 160a301 commit b10c4cd

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

tests/unit/spinner/spinner_defaults.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ commonWidgetTests( "spinner", {
1010
value: null,
1111

1212
// callbacks
13-
create: null
13+
change: null,
14+
create: null,
15+
spin: null,
16+
start: null,
17+
stop: null
1418
}
1519
});

ui/jquery.ui.spinner.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ $.widget( "ui.spinner", {
2424
numberFormat: null,
2525
page: 10,
2626
step: null,
27-
value: null
27+
value: null,
28+
29+
change: null,
30+
spin: null,
31+
start: null,
32+
stop: null
2833
},
2934

3035
_create: function() {

0 commit comments

Comments
 (0)