mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
2626be4533
Ref #14246 Ref gh-1588
36 lines
552 B
JavaScript
36 lines
552 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
|
|
}
|
|
});
|
|
|
|
} );
|