SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface TrackDragOptions

    interface TrackDragOptions {
        edgeHoldIntervalMs?: number;
        getThumb: () => { length: number; offset: number } | null;
        getTrackRect: () => DOMRect | null;
        onDragModeChange?: (mode: string | null) => void;
        onStart: (zone: TrackDragZone, e: PointerEvent) => TrackDragSession | null;
        pageInitialDelayMs?: number;
        pageRepeatDelayMs?: number;
        vertical: boolean;
    }
    Index
    edgeHoldIntervalMs?: number
    getThumb: () => { length: number; offset: number } | null

    Live thumb placement in track px, or null when there is no thumb (disabled — no gesture starts).

    getTrackRect: () => DOMRect | null

    Live track rect (screen coords) for pointer → track-px mapping and end detection.

    onDragModeChange?: (mode: string | null) => void

    Notified when the active session's dragMode changes (the hook turns this into React state).

    onStart: (zone: TrackDragZone, e: PointerEvent) => TrackDragSession | null

    Begin a gesture in zone. Return the TrackDragSession policy — or null to decline (disabled, non-primary button already filtered by the engine).

    pageInitialDelayMs?: number
    pageRepeatDelayMs?: number
    vertical: boolean

    Axis of the track. (Recreate the controller when this changes — the hook keys its memo on it.)