2012-04-19 17:03:21 +00:00
|
|
|
TestHelpers.commonWidgetTests( "slider", {
|
2011-04-25 18:04:30 +00:00
|
|
|
defaults: {
|
|
|
|
animate: false,
|
2012-12-26 13:08:48 +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
|
|
|
|
2011-04-25 18:04:30 +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
|
|
|
}
|
|
|
|
});
|