2015-04-06 18:44:05 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:08:11 +00:00
|
|
|
"ui/widgets/slider"
|
2015-04-06 18:44:05 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "slider", {
|
2011-04-25 18:04:30 +00:00
|
|
|
defaults: {
|
|
|
|
animate: false,
|
2015-03-26 11:41:37 +00:00
|
|
|
cancel: "input, textarea, button, select, option",
|
2014-12-03 16:27:19 +00:00
|
|
|
classes: {
|
|
|
|
"ui-slider": "ui-corner-all",
|
|
|
|
"ui-slider-handle": "ui-corner-all",
|
|
|
|
"ui-slider-range": "ui-corner-all ui-widget-header"
|
|
|
|
},
|
2011-04-25 18:04:30 +00:00
|
|
|
delay: 0,
|
|
|
|
disabled: false,
|
|
|
|
distance: 0,
|
|
|
|
max: 100,
|
|
|
|
min: 0,
|
2012-12-26 13:08:48 +00:00
|
|
|
orientation: "horizontal",
|
2011-04-25 18:04:30 +00:00
|
|
|
range: false,
|
|
|
|
step: 1,
|
|
|
|
value: 0,
|
|
|
|
values: null,
|
2009-02-02 05:58:49 +00:00
|
|
|
|
2015-08-21 04:05:36 +00:00
|
|
|
// Callbacks
|
2013-01-02 19:58:12 +00:00
|
|
|
create: null,
|
|
|
|
change: null,
|
|
|
|
slide: null,
|
|
|
|
start: null,
|
|
|
|
stop: null
|
2011-04-25 18:04:30 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-06 18:44:05 +00:00
|
|
|
|
|
|
|
} );
|