mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
bde431bb44
Ref gh-1528
36 lines
544 B
JavaScript
36 lines
544 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/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
|
|
}
|
|
});
|
|
|
|
} );
|