Debian Codegraph @

tests/unit/draggable/common.js

raw symbols SCIP
1 define( [
2 "lib/common",
3 "ui/widgets/draggable"
4 ], function( common ) {
5
6 common.testWidget( "draggable", {
7 defaults: {
8 appendTo: "parent",
9 axis: false,
10 cancel: "input, textarea, button, select, option",
11 classes: {},
12 connectToSortable: false,
13 containment: false,
14 cursor: "auto",
15 cursorAt: false,
16 disabled: false,
17 grid: false,
18 handle: false,
19 helper: "original",
20 opacity: false,
21 refreshPositions: false,
22 revert: false,
23 revertDuration: 500,
24 scroll: true,
25 scrollSensitivity: 20,
26 scrollSpeed: 20,
27 scope: "default",
28 snap: false,
29 snapMode: "both",
30 snapTolerance: 20,
31 stack: false,
32 zIndex: false,
33
34 //Todo: remove the following option checks when interactions are rewritten:
35 addClasses: true,
36 delay: 0,
37 distance: 1,
38 iframeFix: false,
39
40 // Callbacks
41 create: null,
42 drag: null,
43 start: null,
44 stop: null
45 }
46 } );
47
48 } );