Login Register Help
API Documentation
Choose a stylesheet:

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.AutoSource(node, params)
Constructordojo.dnd.Container(node, params: Object:)
Constructordojo.dnd.Moveable(node, params: Object:)
Constructordojo.dnd.Mover(node, e: Event:, host)
Constructordojo.dnd.Selector(node: Node:, params: Object:)
Constructordojo.dnd.Target(node, params)
Constructordojo.dnd.TimedMoveable(node: Node:, params: Object:)
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
Functiondojo.dnd._createSpan(text: String:): Node
creates a SPAN element with given text as its innerHTML
Functiondojo.dnd._createTrTd(text: String:): Node
creates a TR/TD structure with given text as an innerHTML of TD
takes a parent node, and returns an appropriate creator function

Jump to FunctionsJump to ConstructorsJump to NamespacesPropertiesBack to top