You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
589 B
36 lines
589 B
define( [
|
|
"lib/common",
|
|
"ui/widgets/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
|
|
}
|
|
} );
|
|
|
|
} );
|