@antadesign/anta
    Preparing search index...

    Interface CapturePointerInputUnreviewed

    A captured pointer session. Positive movement follows the pointer right/down.

    interface CapturePointerInput {
        localX: number;
        localY: number;
        boxWidth: number;
        boxHeight: number;
        inside: boolean;
        focusWithin: boolean;
        phase: "start" | "move" | "end" | "cancel";
        pointerEvent: SerializedPointerEvent | null;
        start: CapturePointerStart;
        deltaX: number;
        deltaY: number;
        movementX: number;
        movementY: number;
        activationReason: CapturePointerActivationReason;
        cancelReason?: CaptureInputCancelReason;
    }

    Hierarchy (View Summary)

    Index
    localX: number

    Pointer position relative to the viewport bounding rectangle's top-left, in CSS pixels.

    localY: number
    boxWidth: number

    Dimensions of the same viewport bounding rectangle, in CSS pixels.

    boxHeight: number
    inside: boolean

    Whether the pointer is inside that rectangle. Capture can continue outside it.

    focusWithin: boolean
    phase: "start" | "move" | "end" | "cancel"
    pointerEvent: SerializedPointerEvent | null

    Null when cancellation comes from lifecycle or configuration changes.

    deltaX: number

    Movement since the previous delivered sample, in viewport CSS pixels.

    deltaY: number
    movementX: number

    Total movement from the initial press, in viewport CSS pixels.

    movementY: number