HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/buyercall/node_modules/vue-final-modal/dist/useSwipeable.d.ts
import type { Ref } from 'vue';
export type SwiperDirection = 'up' | 'right' | 'down' | 'left' | 'none';
export declare function useSwipeable(el: Ref<undefined | HTMLElement>, { threshold, onSwipeStart, onSwipe, onSwipeEnd, passive, }: {
    threshold?: number;
    onSwipeStart?: (e?: MouseEvent | TouchEvent) => void;
    onSwipe?: (e?: MouseEvent | TouchEvent) => void;
    onSwipeEnd?: (e?: MouseEvent | TouchEvent, direction?: SwiperDirection) => void;
    passive?: boolean;
}): {
    isSwiping: Ref<boolean>;
    direction: import("vue").ComputedRef<SwiperDirection>;
    coordsStart: {
        x: number;
        y: number;
    };
    coordsEnd: {
        x: number;
        y: number;
    };
    lengthX: import("vue").ComputedRef<number>;
    lengthY: import("vue").ComputedRef<number>;
    stop: () => void;
};