jquery-ui/tests/unit/slider/slider_common.js
Alexander Schmitz 491bb9c7f4 Slider: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:12 -04:00

29 lines
519 B
JavaScript

TestHelpers.commonWidgetTests( "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
}
});