DragControl
Type: Interface
File: core/dnd.js
Based on: has not base object
Included in:
Methods
addDrag
- registers drag area
addDrop
- registers drop area
createDrag
- called when drag-n-drop is initiated, creates drag representation
destroyDrag
- called after drag-n-drop, removes all traces and html elements
getContext
- gets drag-n-drop context object
getMaster
- component object or hash code of the control methods
getNode
- gets dragged node
onDrag
- called when drag-n-drop started and defines defines dragging behavior
onDragIn
- called when mouse was moved in drop area and defines marker behavior within the drop area
onDragOut
- called when mouse was moved out drop area and defines marker behavior out of the drop area
onDrop
- called when mouse was released over drop area and defines dropping behavior
sendSignal
- sets drag-n-drop active state for drag-n-drop context object
Events
ondragout
- dragged element moved outside of droppable area
onbeforedrag
- mouse button pressed and moved over draggable item
onbeforedragin
- dragged element moved over droppable area
onbeforedrop
- dragged element released over droppable area
onafterdrop
- drag-n-drop finished
Properties
drag
- Enables or disables dnd