2015-04-07 00:35:27 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:03:06 +00:00
|
|
|
"ui/widgets/droppable"
|
2015-04-07 00:35:27 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "droppable", {
|
2012-04-19 14:27:06 +00:00
|
|
|
defaults: {
|
|
|
|
accept: "*",
|
|
|
|
addClasses: true,
|
2014-12-03 16:20:20 +00:00
|
|
|
classes: {},
|
2012-04-19 14:27:06 +00:00
|
|
|
disabled: false,
|
|
|
|
greedy: false,
|
|
|
|
scope: "default",
|
2013-01-02 23:27:22 +00:00
|
|
|
tolerance: "intersect",
|
|
|
|
|
2015-08-21 04:10:45 +00:00
|
|
|
// Callbacks
|
2013-01-02 23:27:22 +00:00
|
|
|
activate: null,
|
|
|
|
create: null,
|
|
|
|
deactivate: null,
|
|
|
|
drop: null,
|
|
|
|
out: null,
|
|
|
|
over: null
|
2012-04-19 14:27:06 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-07 00:35:27 +00:00
|
|
|
|
|
|
|
} );
|