jquery-ui/tests/unit/draggable/draggable_common.js
2012-12-11 18:54:03 -05:00

48 lines
857 B
JavaScript

TestHelpers.commonWidgetTests( "draggable", {
defaults: {
// options
appendTo: null,
containment: null,
disabled: false,
exclude: "input,textarea,button,select,option",
handle: null,
helper: false,
// backCompat options
axis: false,
// connectToSortable: false,
cursor: "auto",
cursorAt: false,
grid: false,
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",
// methods
destroy: null,
disable: null,
enable: null,
option: null,
widget: null,
// callbacks
beforeStart: null,
create: null,
drag: null,
start: null,
stop: null
}
});