index.d.ts 247 B

1234567
  1. import type { Ref } from 'vue';
  2. export type ThrottleType = {
  3. leading?: number;
  4. trailing?: number;
  5. initVal?: boolean;
  6. } | number;
  7. export declare const useThrottleRender: (loading: Ref<boolean>, throttle?: ThrottleType) => Ref<boolean>;