jquery-ui/tests/unit/draggable/draggable_common.js

47 lines
843 B
JavaScript
Raw Normal View History

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,
opacity: false,
refreshPositions: false,
revert: false,
revertDuration: 500,
scroll: true,
scrollSensitivity: null,
scrollSpeed: null,
scope: "default",
snap: false,
snapMode: "both",
snapTolerance: 20,
stack: false,
zIndex: false,
2012-12-21 16:33:13 +00:00
cancel: null
// // methods
// destroy: null,
// disable: null,
// enable: null,
// option: null,
// widget: null,
// // callbacks
// beforeStart: null,
// create: null,
// drag: null,
// start: null,
// stop: null
}
});