2009-02-01 00:25:58 +00:00
|
|
|
/*
|
|
|
|
* draggable_defaults.js
|
|
|
|
*/
|
|
|
|
|
2009-02-02 06:34:44 +00:00
|
|
|
var draggable_defaults = {
|
2009-02-02 06:45:50 +00:00
|
|
|
addClasses: true,
|
2009-02-02 06:34:44 +00:00
|
|
|
appendTo: "parent",
|
|
|
|
axis: false,
|
|
|
|
cancel: ":input,option",
|
|
|
|
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
|
|
|
|
};
|
2009-02-01 00:25:58 +00:00
|
|
|
|
2009-02-02 06:34:44 +00:00
|
|
|
commonWidgetTests('draggable', { defaults: draggable_defaults });
|