You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
247 B
TypeScript
8 lines
247 B
TypeScript
|
3 months ago
|
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>;
|