weasel API - v0.8.0
    Preparing search index...

    Interface DragRectEndCtx<TScratch>

    interface DragRectEndCtx<TScratch = unknown> {
        bounds: DragRectBounds;
        current: DragRectPoint;
        isSubThreshold: boolean;
        modifiers: ModifierState;
        scratch: TScratch;
        start: DragRectPoint;
        setCurrent(p: DragRectPoint): void;
        setStart(p: DragRectPoint): void;
    }

    Type Parameters

    • TScratch = unknown

    Hierarchy (View Summary)

    Index

    Properties

    current: DragRectPoint
    isSubThreshold: boolean

    True if the end-time bounds are at or below minBounds on either axis. Present-tense state check — distinct from the base's retrospective wasSubThreshold. Computed by this wrapper, not by useDragGesture.

    modifiers: ModifierState
    scratch: TScratch

    Methods