addDrag(node,ctrl)

registers drag area

Parameters

  • node - html node or ID
    • object,string
  • ctrl - hash code of the drag control methods (optional)
    • object

Returns

method doesn't return any data