• Detect if a drag event should be started. This is down if the mouse is moved beyond a certain distance (DRAG_THRESHOLD).

    Parameters

    • prevX: number

      X Coordinate of the mouse pointer during the mousedown event

    • prevY: number

      Y Coordinate of the mouse pointer during the mousedown event

    • nextX: number

      Current X Coordinate of the mouse pointer

    • nextY: number

      Current Y Coordinate of the mouse pointer

    Returns boolean

Generated using TypeDoc