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

    Interface DragInfo

    An 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 X coordinate of the dragged element's bounding rect and pointer X position, captured when the drag has started.

    offsetY: number

    The distance between the T coordinate of the dragged element's bounding rect and pointer Y position, captured when the drag has started.

    startX: number

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

    Doesn't include the scroll position.

    startY: number

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

    Doesn't include the 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.

    Doesn't include the scroll position.

    y: number

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

    Doesn't include the scroll position.