mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
c192d4086d
Fixes #7053 Closes gh-1411
42 lines
801 B
JavaScript
42 lines
801 B
JavaScript
TestHelpers.commonWidgetTests( "draggable", {
|
|
defaults: {
|
|
appendTo: "parent",
|
|
axis: false,
|
|
cancel: "input,textarea,button,select,option",
|
|
classes: {},
|
|
connectToSortable: false,
|
|
containment: false,
|
|
cursor: "auto",
|
|
cursorAt: false,
|
|
disabled: false,
|
|
grid: false,
|
|
handle: false,
|
|
helper: "original",
|
|
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,
|
|
|
|
//todo: remove the following option checks when interactions are rewritten:
|
|
addClasses: true,
|
|
delay: 0,
|
|
distance: 1,
|
|
iframeFix: false,
|
|
|
|
// callbacks
|
|
create: null,
|
|
drag: null,
|
|
start: null,
|
|
stop: null
|
|
}
|
|
});
|