2015-05-14 12:37:53 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:10:12 +00:00
|
|
|
"ui/widgets/spinner"
|
2015-05-14 12:37:53 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "spinner", {
|
|
|
|
defaults: {
|
|
|
|
classes: {
|
|
|
|
"ui-spinner": "ui-corner-all",
|
|
|
|
"ui-spinner-up": "ui-corner-tr",
|
|
|
|
"ui-spinner-down": "ui-corner-br"
|
|
|
|
},
|
|
|
|
culture: null,
|
|
|
|
disabled: false,
|
|
|
|
icons: {
|
|
|
|
down: "ui-icon-triangle-1-s",
|
|
|
|
up: "ui-icon-triangle-1-n"
|
|
|
|
},
|
|
|
|
incremental: true,
|
|
|
|
max: null,
|
|
|
|
min: null,
|
|
|
|
numberFormat: null,
|
|
|
|
page: 10,
|
|
|
|
step: 1,
|
|
|
|
|
2015-08-21 04:04:59 +00:00
|
|
|
// Callbacks
|
2015-05-14 12:37:53 +00:00
|
|
|
change: null,
|
|
|
|
create: null,
|
|
|
|
spin: null,
|
|
|
|
start: null,
|
|
|
|
stop: null
|
|
|
|
}
|
2015-08-24 12:57:40 +00:00
|
|
|
} );
|
2015-05-14 12:37:53 +00:00
|
|
|
|
|
|
|
} );
|