DragObject

DragObject

new DragObject()

Main DragObject class constructor

Methods

(private, static) _doRevert()

Revert a drag item to its former position

(private, static) _dragDown()

Drag item mouse down event

(private, static) _dragUp()

Drag Up

(private, static) _dropped()

Dropped method to determine if a drag item has been dropped on a drop target

(private, static) _getElements()

Determines if there are internal elements like the drag handle to retrieve

(private, static) _initialize()

Initialize the drag object

(private, static) _onTouchMove()

Handle touch move for both the horizontal and vertical scroll effect

(private, static) _setEvents()

Set the events on the item

(private, static) _startTimer()

Start the drag timer

(private, static) _stopTimer()

Stop the drag timer

(private, static) _windowUp()

Window up event

(static) destroy()

Destroy the drag item