stdproject/frontend/node_modules/element-plus/lib/hooks/use-throttle-render/index.d.ts

8 lines
247 B
TypeScript
Raw Normal View History

2025-05-30 13:43:31 +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>;