mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
23d0884e66
Ref #14246
36 lines
553 B
JavaScript
36 lines
553 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/widgets/spinner"
|
|
], 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,
|
|
|
|
// Callbacks
|
|
change: null,
|
|
create: null,
|
|
spin: null,
|
|
start: null,
|
|
stop: null
|
|
}
|
|
} );
|
|
|
|
} );
|