Appearance
提供节流函数的 Hook。
import { useThrottleFn } from '@base-web-kits/base-tools-vue'; const throttledFn = useThrottleFn(() => { // do something }, 1000);
fn (Function)
ms (number)
(Function)