dojo.dnd
Drag and Drop resources


NamespacesBack to top


ConstructorsBack to top

an object, which represents transferred DnD items visually manager: Object: a DnD manager object
a constructor of the Container
the manager of DnD operations (usually a singleton)
an object, which makes a node moveable
an object, which makes a node follow the mouse, used as a default mover, and as a base class for custom movers
a constructor of the Selector
a constructor of the Source

a constructor of the Target --- see the Source constructor for details
an object, which makes a node moveable with a timer
a dict of parameters for DnD Source configuration. Note that any property on Source elements may be configured, but this is the short-list


FunctionsBack to top
a handler for onmousemove event, which scrolls the window, if necesary
a handler for onmousemove event, which scrolls the first avaialble Dom element, it falls back to dojo.dnd.autoScroll()
abstracts away the difference between selection on Mac and PC, and returns the state of the "copy" key to be pressed.
returns a unique string for use with any DOM element
returns a viewport size (visible part of the window)
returns true, if user clicked on a form element
returns the current DnD manager, creates one if it is not created yet
returns a function, which creates an element of given tag (SPAN by default) and sets its innerHTML to given text
creates a SPAN element with given text as its innerHTML
creates a TR/TD structure with given text as an innerHTML of TD
takes a container node, and returns an appropriate creator function