mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
7b1c19b191
Conflicts: tests/unit/draggable/draggable_common.js ui/jquery.ui.draggable.js ui/jquery.ui.droppable.js ui/jquery.ui.sortable.js
40 lines
712 B
JavaScript
40 lines
712 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,
|
|
|
|
// callbacks
|
|
beforeStart: null,
|
|
create: null,
|
|
drag: null,
|
|
start: null,
|
|
stop: null
|
|
}
|
|
});
|