UNPKG

vuestic-ui

Version:
12 lines (11 loc) 360 B
import { Ref, ShallowRef } from 'vue'; type MaybeRef<T> = Ref<T> | T; interface LongPressOptions { onStart: () => void; onEnd: () => void; onUpdate: () => void; delay?: MaybeRef<number>; interval?: number; } export declare function useLongPress(el: ShallowRef<HTMLElement | undefined>, options: Partial<LongPressOptions>): void; export {};