Global Cube a16e27ced8 init 2 سال پیش
..
adapter a16e27ced8 init 2 سال پیش
dropMode a16e27ced8 init 2 سال پیش
resources a16e27ced8 init 2 سال پیش
AreaManager.js a16e27ced8 init 2 سال پیش
AutoScroll.js a16e27ced8 init 2 سال پیش
DropIndicator.js a16e27ced8 init 2 سال پیش
LazyManager.js a16e27ced8 init 2 سال پیش
Moveable.js a16e27ced8 init 2 سال پیش
PureSource.js a16e27ced8 init 2 سال پیش
README a16e27ced8 init 2 سال پیش

README

-------------------------------------------------------------------------------
dojox.mdnd Experimental coordinates based moveable drag and drop.
-------------------------------------------------------------------------------
Version 1.1
Release date: 09/04/2009
-------------------------------------------------------------------------------
Project state:

[AreaManager] beta
[AutoScroll] beta
[DropIndicator] beta
[Movable] beta
[PureSource] beta
[adapter/DndFromDojo] experimental
[adapter/DndToDojo] experimental
[dropMode/DefaultDropMode] beta
[dropMode/OverDropMode] experimental

-------------------------------------------------------------------------------
Credits

Erwan Morvillez (emorvillez),
Jean-Jacques Patard (jjpatard),
Jeff Cunat (jfcunat)


-------------------------------------------------------------------------------
Project description

Alternative Drag and Drop solution based on coordinates of drag element and
targets instead of mouseover. It allows dragging directly the nodes (like
dojo.dnd.Moveable) instead of an avatar (as in dojo.dnd). dojo.dnd and
dojox.mdnd are compatible by using adapters.

PureSource is just a rewrite of dojo.dnd.Source to only allow drag start and no
drop without testing acceptance.

-------------------------------------------------------------------------------
Dependencies

require Dojo Core

-------------------------------------------------------------------------------
Installation:

checkout:

http://svn.dojotoolkit.org/src/dojox/trunk/mdnd/

and require via:
dojo.require("dojox.mdnd.AreaManager");

-------------------------------------------------------------------------------
Basic Usage:

dojo.require("dojox.mdnd.AreaManager");
dojo.require("dojox.mdnd.DropIndicator");
dojo.require("dojox.mdnd.dropMode.DefaultDropMode");

var init = function(){
var m = dojox.mdnd.areaManager();
m.areaClass = "dndArea";
m.dragHandleClass = "dragHandle";
m.registerByClass();
};

dojo.addOnLoad(init);

...


Accepts Type1 items




Item Type 1


Proin aliquet accumsan nunc. Duis nec tortor.






Item Type2


Proin aliquet accumsan nunc. Duis nec tortor.








Accepts Type2 items