stdproject/frontend/node_modules/element-plus/es/hooks/use-throttle-render/index.d.ts
2025-05-30 13:43:31 +08:00

8 lines
247 B
TypeScript

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>;