指南
链接
核心
插件
主题
setInterval 的带控件封装器
setInterval
🌐 Wrapper for setInterval with controls
源代码在线运行
Hello
interval:
🌐 Usage
import { useIntervalFn } from '@vueuse/core' const { pause, resume, isActive } = useIntervalFn(() => { /* your function */ }, 1000)