Files

8 lines
247 B
TypeScript
Raw Permalink Normal View History

2025-11-24 23:24:06 +08:00
import type { Ref } from 'vue';
export type ThrottleType = {
leading?: number;
trailing?: number;
initVal?: boolean;
} | number;
export declare const useThrottleRender: (loading: Ref<boolean>, throttle?: ThrottleType) => Ref<boolean>;