React Hookers - v6.3.0
    Preparing search index...

    Interface DragInfo

    Info about the current drag frame.

    interface DragInfo {
        offsetX: number;
        offsetY: number;
        startX: number;
        startY: number;
        target: Element;
        targetRect: DOMRect;
        x: number;
        y: number;
    }
    Index

    Properties

    offsetX: number

    The distance between the element's X coordinate and the pointer X position, captured when the drag started.

    offsetY: number

    The distance between the element's Y coordinate and the pointer Y position, captured when the drag started.

    startX: number

    The X coordinate of the dragged element's bounding rect, captured when the drag started.

    Does not include scroll position.

    startY: number

    The Y coordinate of the dragged element's bounding rect, captured when the drag started.

    Does not include scroll position.

    target: Element

    The dragged element.

    targetRect: DOMRect

    The target bounding rect captured on drag start.

    x: number

    The current X coordinate of the dragged element's bounding rect.

    Does not include scroll position.

    y: number

    The current Y coordinate of the dragged element's bounding rect.

    Does not include scroll position.