Create an image for the cell(s) to be dragged
The cell from where the drag event is triggered
The cells to be dragged
Find the cell index containing the target html element. This function traces up the DOM hierarchy to find the root cell node. Then find the corresponding child and select it.
the cell node or a child of the cell node.
an iterable of Cells
a function that takes in a node and checks if it is a cell node.
index of the cell we're looking for. Returns -1 if the cell is not founds
Detect if a drag event should be started. This is down if the mouse is moved beyond a certain distance (DRAG_THRESHOLD).
X Coordinate of the mouse pointer during the mousedown event
Y Coordinate of the mouse pointer during the mousedown event
Current X Coordinate of the mouse pointer
Current Y Coordinate of the mouse pointer
Generated using TypeDoc