2012-04-19 17:03:21 +00:00
|
|
|
TestHelpers.commonWidgetTests( "draggable", {
|
|
|
|
defaults: {
|
|
|
|
addClasses: true,
|
|
|
|
appendTo: "parent",
|
|
|
|
axis: false,
|
2012-05-21 18:49:49 +00:00
|
|
|
cancel: "input,textarea,button,select,option",
|
2012-04-19 17:03:21 +00:00
|
|
|
connectToSortable: false,
|
|
|
|
containment: false,
|
|
|
|
cursor: "auto",
|
|
|
|
cursorAt: false,
|
|
|
|
delay: 0,
|
|
|
|
disabled: false,
|
|
|
|
distance: 1,
|
|
|
|
grid: false,
|
|
|
|
handle: false,
|
|
|
|
helper: "original",
|
|
|
|
iframeFix: false,
|
|
|
|
opacity: false,
|
|
|
|
refreshPositions: false,
|
|
|
|
revert: false,
|
|
|
|
revertDuration: 500,
|
|
|
|
scroll: true,
|
|
|
|
scrollSensitivity: 20,
|
|
|
|
scrollSpeed: 20,
|
|
|
|
scope: "default",
|
|
|
|
snap: false,
|
|
|
|
snapMode: "both",
|
|
|
|
snapTolerance: 20,
|
|
|
|
stack: false,
|
|
|
|
zIndex: false
|
|
|
|
}
|
|
|
|
});
|