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
|
|
|
opacity: false,
|
|
|
|
refreshPositions: false,
|
|
|
|
revert: false,
|
|
|
|
revertDuration: 500,
|
|
|
|
scroll: true,
|
2012-12-20 23:04:32 +00:00
|
|
|
scrollSensitivity: null,
|
|
|
|
scrollSpeed: null,
|
2012-12-11 23:52:56 +00:00
|
|
|
scope: "default",
|
|
|
|
snap: false,
|
|
|
|
snapMode: "both",
|
|
|
|
snapTolerance: 20,
|
|
|
|
stack: false,
|
|
|
|
zIndex: false,
|
2013-01-02 02:59:18 +00:00
|
|
|
cancel: null,
|
2012-12-05 05:07:55 +00:00
|
|
|
|
2013-01-02 02:59:18 +00:00
|
|
|
// callbacks
|
2013-01-02 23:34:34 +00:00
|
|
|
beforeStart: null,
|
2013-01-02 23:27:22 +00:00
|
|
|
create: null,
|
|
|
|
drag: null,
|
|
|
|
start: null,
|
|
|
|
stop: null
|
2012-04-19 17:03:21 +00:00
|
|
|
}
|
|
|
|
});
|