Noodle Help Site

Class Drag


Defined in: <./media/noodle.drag.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Drag()
Method Summary
Method Attributes Method Name and Description
 
canDrop(dropZone)
 
 
 
 
 
 
 
 
 
 
 
 
 
init(doc, selectors, dropFunc, dragHandleIsNested, useParentAsDz, excludeElsWithClass)
 
makeDraggable(el, useParentAsDz, excludeElsWithClass)
 
 
 
 
movePlaceholder(event, dropZone)
 
 
Drag()
Returns:
{Drag}
canDrop(dropZone)
Parameters:
dropZone
canDropCustom()
dropReaction()
getIntendedDragNode(el)
Parameters:
el
handleDragEnd(e)
Parameters:
e
handleDragEnter(e)
Parameters:
e
handleDragLeave(e)
Parameters:
e
handleDragOver(e)
Parameters:
e
handleDragStart(e)
Parameters:
e
handleDrop(e)
Parameters:
e
handleMouseDown(e)
Parameters:
e
handleMouseLeave(e)
Parameters:
e
handleMouseOver(e)
Parameters:
e
init(doc, selectors, dropFunc, dragHandleIsNested, useParentAsDz, excludeElsWithClass)
Parameters:
doc
selectors
dropFunc
dragHandleIsNested
useParentAsDz
excludeElsWithClass
makeDraggable(el, useParentAsDz, excludeElsWithClass)
Parameters:
el
useParentAsDz
excludeElsWithClass
makeDraggableHelper(el)
Parameters:
el
makePlaceholderFor(element)
Parameters:
element
makePlaceholderHelper(el)
Parameters:
el
movePlaceholder(event, dropZone)
Parameters:
event
dropZone
removePlaceholder()
showPortletLayout(show)
Parameters:
show