UNPKG

iking-vue-hooks

Version:

金合Vue Hooks 事件监听hook

15 lines (14 loc) 412 B
declare interface Fn<T = any, R = T> { (...arg: T[]): R; } export declare function useTimeoutFn(handle: Fn<any>, wait: number, native?: boolean): { readyRef: import("vue").Ref<boolean>; stop: () => void; start: () => void; }; export declare function useTimeoutRef(wait: number): { readyRef: import("vue").Ref<boolean>; stop: () => void; start: () => void; }; export {};