Namespacedojo.dnd

Drag and Drop resources

Jump to PropertiesJump to FunctionsJump to ConstructorsNamespacesBack to top

Jump to PropertiesJump to FunctionsJump to NamespacesConstructorsBack to top

Constructordojo.dnd.Avatar(manager)
an object, which represents transferred DnD items visually manager: Object: a DnD manager object
Constructordojo.dnd.Container(node: Node, params: Object)
a constructor of the Container
the manager of DnD operations (usually a singleton)
Constructordojo.dnd.Moveable(node: Node, params: Object)
an object, which makes a node moveable
Constructordojo.dnd.Mover(node: Node, e, host: Object?)
an object, which makes a node follow the mouse, used as a default mover, and as a base class for custom movers
Constructordojo.dnd.Selector(node: Node, params: Object)
a constructor of the Selector
a constructor of the Source
Constructordojo.dnd.Target(node, params)
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

Jump to PropertiesJump to ConstructorsJump to NamespacesFunctionsBack 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

Jump to FunctionsJump to ConstructorsJump to NamespacesPropertiesBack to top