UNPKG

vue-hooks-plus

Version:
9 lines (8 loc) 254 B
import { Ref } from 'vue'; export interface UseThrottleOptions { wait?: number; leading?: boolean; trailing?: boolean; } declare function useThrottle<T>(value: Ref<T>, options?: UseThrottleOptions): Ref<any, any>; export default useThrottle;