2015-04-06 23:46:15 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
|
|
|
"ui/spinner"
|
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "spinner", {
|
2011-08-07 12:10:49 +00:00
|
|
|
defaults: {
|
2015-02-24 21:17:29 +00:00
|
|
|
classes: {
|
|
|
|
"ui-spinner": "ui-corner-all",
|
|
|
|
"ui-spinner-up": "ui-corner-tr",
|
|
|
|
"ui-spinner-down": "ui-corner-br"
|
|
|
|
},
|
2011-09-28 22:30:58 +00:00
|
|
|
culture: null,
|
2011-08-07 12:10:49 +00:00
|
|
|
disabled: false,
|
2012-07-12 15:59:43 +00:00
|
|
|
icons: {
|
|
|
|
down: "ui-icon-triangle-1-s",
|
|
|
|
up: "ui-icon-triangle-1-n"
|
|
|
|
},
|
2011-08-07 12:10:49 +00:00
|
|
|
incremental: true,
|
2011-09-09 23:24:10 +00:00
|
|
|
max: null,
|
|
|
|
min: null,
|
2011-08-07 12:10:49 +00:00
|
|
|
numberFormat: null,
|
|
|
|
page: 10,
|
|
|
|
step: 1,
|
|
|
|
|
|
|
|
// callbacks
|
|
|
|
change: null,
|
|
|
|
create: null,
|
|
|
|
spin: null,
|
|
|
|
start: null,
|
|
|
|
stop: null
|
|
|
|
}
|
|
|
|
});
|
2015-04-06 23:46:15 +00:00
|
|
|
|
|
|
|
} );
|