2012-04-19 17:03:21 +00:00
|
|
|
TestHelpers.commonWidgetTests( "draggable", {
|
|
|
|
defaults: {
|
2012-12-05 05:07:55 +00:00
|
|
|
// options
|
|
|
|
appendTo: null,
|
|
|
|
containment: null,
|
2012-04-19 17:03:21 +00:00
|
|
|
disabled: false,
|
2012-12-11 23:46:35 +00:00
|
|
|
exclude: "input,textarea,button,select,option",
|
2012-12-05 05:07:55 +00:00
|
|
|
handle: null,
|
|
|
|
helper: false,
|
|
|
|
|
|
|
|
// backCompat options
|
2012-12-11 23:46:35 +00:00
|
|
|
axis: false,
|
2012-12-05 05:07:55 +00:00
|
|
|
// connectToSortable: false,
|
2012-12-11 23:46:35 +00:00
|
|
|
cursor: "auto",
|
|
|
|
cursorAt: false,
|
|
|
|
grid: false,
|
2012-12-11 23:52:56 +00:00
|
|
|
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,
|
|
|
|
cancel: "input,textarea,button,select,option",
|
2012-12-05 05:07:55 +00:00
|
|
|
|
|
|
|
// methods
|
2012-12-11 23:52:56 +00:00
|
|
|
destroy: null,
|
|
|
|
disable: null,
|
|
|
|
enable: null,
|
|
|
|
option: null,
|
|
|
|
widget: null,
|
2012-12-05 05:07:55 +00:00
|
|
|
|
|
|
|
// callbacks
|
2012-12-11 23:52:56 +00:00
|
|
|
beforeStart: null,
|
2012-12-11 23:54:03 +00:00
|
|
|
create: null,
|
2012-12-11 23:52:56 +00:00
|
|
|
drag: null,
|
|
|
|
start: null,
|
|
|
|
stop: null
|
2012-04-19 17:03:21 +00:00
|
|
|
}
|
|
|
|
});
|