2015-04-06 18:50:39 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
|
|
|
"ui/sortable"
|
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "sortable", {
|
2012-04-19 17:03:21 +00:00
|
|
|
defaults: {
|
|
|
|
appendTo: "parent",
|
|
|
|
axis: false,
|
2015-03-26 11:41:37 +00:00
|
|
|
cancel: "input, textarea, button, select, option",
|
2014-12-03 16:20:20 +00:00
|
|
|
classes: {},
|
2012-04-19 17:03:21 +00:00
|
|
|
connectWith: false,
|
|
|
|
containment: false,
|
|
|
|
cursor: "auto",
|
|
|
|
cursorAt: false,
|
|
|
|
delay: 0,
|
|
|
|
disabled: false,
|
|
|
|
distance: 1,
|
|
|
|
dropOnEmpty: true,
|
|
|
|
forcePlaceholderSize: false,
|
|
|
|
forceHelperSize: false,
|
|
|
|
grid: false,
|
|
|
|
handle: false,
|
|
|
|
helper: "original",
|
|
|
|
items: "> *",
|
|
|
|
opacity: false,
|
|
|
|
placeholder: false,
|
|
|
|
revert: false,
|
|
|
|
scroll: true,
|
|
|
|
scrollSensitivity: 20,
|
|
|
|
scrollSpeed: 20,
|
|
|
|
scope: "default",
|
|
|
|
tolerance: "intersect",
|
2013-01-02 23:27:22 +00:00
|
|
|
zIndex: 1000,
|
|
|
|
|
|
|
|
// callbacks
|
|
|
|
activate: null,
|
|
|
|
beforeStop: null,
|
|
|
|
change: null,
|
|
|
|
create: null,
|
|
|
|
deactivate: null,
|
|
|
|
out: null,
|
|
|
|
over: null,
|
|
|
|
receive: null,
|
|
|
|
remove: null,
|
|
|
|
sort: null,
|
|
|
|
start: null,
|
|
|
|
stop: null,
|
|
|
|
update: null
|
2012-04-19 17:03:21 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-06 18:50:39 +00:00
|
|
|
|
|
|
|
} );
|