mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
a856dd9b7e
Ref #10119 Ref gh-1528
36 lines
580 B
JavaScript
36 lines
580 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/slider"
|
|
], function( common ) {
|
|
|
|
common.testWidget( "slider", {
|
|
defaults: {
|
|
animate: false,
|
|
cancel: "input, textarea, button, select, option",
|
|
classes: {
|
|
"ui-slider": "ui-corner-all",
|
|
"ui-slider-handle": "ui-corner-all",
|
|
"ui-slider-range": "ui-corner-all ui-widget-header"
|
|
},
|
|
delay: 0,
|
|
disabled: false,
|
|
distance: 0,
|
|
max: 100,
|
|
min: 0,
|
|
orientation: "horizontal",
|
|
range: false,
|
|
step: 1,
|
|
value: 0,
|
|
values: null,
|
|
|
|
// callbacks
|
|
create: null,
|
|
change: null,
|
|
slide: null,
|
|
start: null,
|
|
stop: null
|
|
}
|
|
});
|
|
|
|
} );
|