UNPKG

@cran/lib.vue.ref

Version:

Vue Reactivity Extensions

9 lines (8 loc) 276 B
import { type Ref } from "vue"; /** * Always return value to a fallback after the * given delay (or on next stack) * @since 0.2.0 * @category Controller */ export declare function useAutoReset<T>(ref: Ref<T>, delay?: number, fallback?: T): import("vue").WatchStopHandle;