jquery-ui/tests/unit/draggable/draggable_common.js
Mike Sherov c341109388 Merge branch 'master' into interactions
Conflicts:
	tests/unit/draggable/draggable.html
	tests/unit/draggable/draggable_common.js
	tests/unit/draggable/draggable_core.js
	tests/unit/draggable/draggable_options.js
	tests/unit/draggable/draggable_test_helpers.js
	tests/unit/droppable/droppable.html
	ui/jquery.ui.draggable.js
	ui/jquery.ui.droppable.js
	ui/jquery.ui.sortable.js
2013-03-04 10:39:57 -05:00

46 lines
858 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,
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,
cancel: null,
//todo: remove the following option checks when interactions are rewritten:
addClasses: true,
delay: 0,
distance: 1,
iframeFix: false,
// callbacks
beforeStart: null,
create: null,
drag: null,
start: null,
stop: null
}
});