| 1 | define( [ |
| 2 | "lib/common", |
| 3 | "ui/widgets/sortable" |
| 4 | ], function( common ) { |
| 5 | |
| 6 | common.testWidget( "sortable", { |
| 7 | defaults: { |
| 8 | appendTo: "parent", |
| 9 | axis: false, |
| 10 | cancel: "input, textarea, button, select, option", |
| 11 | classes: {}, |
| 12 | connectWith: false, |
| 13 | containment: false, |
| 14 | cursor: "auto", |
| 15 | cursorAt: false, |
| 16 | delay: 0, |
| 17 | disabled: false, |
| 18 | distance: 1, |
| 19 | dropOnEmpty: true, |
| 20 | forcePlaceholderSize: false, |
| 21 | forceHelperSize: false, |
| 22 | grid: false, |
| 23 | handle: false, |
| 24 | helper: "original", |
| 25 | items: "> *", |
| 26 | opacity: false, |
| 27 | placeholder: false, |
| 28 | revert: false, |
| 29 | scroll: true, |
| 30 | scrollSensitivity: 20, |
| 31 | scrollSpeed: 20, |
| 32 | scope: "default", |
| 33 | tolerance: "intersect", |
| 34 | zIndex: 1000, |
| 35 | |
| 36 | // Callbacks |
| 37 | activate: null, |
| 38 | beforeStop: null, |
| 39 | change: null, |
| 40 | create: null, |
| 41 | deactivate: null, |
| 42 | out: null, |
| 43 | over: null, |
| 44 | receive: null, |
| 45 | remove: null, |
| 46 | sort: null, |
| 47 | start: null, |
| 48 | stop: null, |
| 49 | update: null |
| 50 | } |
| 51 | } ); |
| 52 | |
| 53 | } ); |