@antadesign/anta
    Preparing search index...

    Interface CapturePan

    interface CapturePan {
        pointerTypes?: readonly CapturePointerType[];
        axis?: "x" | "y" | "both";
        threshold?: number;
        directions?: CaptureInputDirections;
        inertia?: boolean | CapturePanInertia;
    }
    Index
    pointerTypes?: readonly CapturePointerType[]

    Accepted pointer devices.

    ['touch']
    
    axis?: "x" | "y" | "both"

    Axes handled by custom panning. CSS touch-action leaves the other axis to the browser.

    both
    
    threshold?: number

    Movement required before activation, in viewport CSS pixels.

    3
    

    Allowed scroll directions. Updating these can stop motion at application bounds.

    true
    
    inertia?: boolean | CapturePanInertia

    Continue panning after release with browser-side velocity decay.

    false