mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
8bda52c8d1
Ref #10119 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
|
|
}
|
|
});
|
|
|
|
} );
|