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,
|
2012-12-21 16:33:13 +00:00
|
|
|
cancel: null
|
2012-12-05 05:07:55 +00:00
|
|
|
|
2012-12-20 23:04:32 +00:00
|
|
|
// // methods
|
|
|
|
// destroy: null,
|
|
|
|
// disable: null,
|
|
|
|
// enable: null,
|
|
|
|
// option: null,
|
|
|
|
// widget: null,
|
2012-12-05 05:07:55 +00:00
|
|
|
|
2012-12-20 23:04:32 +00:00
|
|
|
// // callbacks
|
|
|
|
// beforeStart: null,
|
|
|
|
// create: null,
|
|
|
|
// drag: null,
|
|
|
|
// start: null,
|
|
|
|
// stop: null
|
2012-04-19 17:03:21 +00:00
|
|
|
}
|
|
|
|
});
|