vue3-delay-watch

vue 3 watcher that waits a minimum delay until the latest state gets passed to the watch hook
3,974 1
Install
npm install vue3-delay-watch
Latest Version:0.1.3
Vue:3
License:ISC
Last Updated:Nov 6, 2025
Links: GitHub  ·  npm
Maintainer: mauriceconrad

Vue 3 Delay watch

Usage

import delayWatch from 'vue3-delay-watch'

const foo = ref('bar');

delayWatch(foo, (newVal, oldVal) => {
  console.log('foo did changed!', newVal);
}, 1000);

Arguments

  1. The watcher function or watched target (same as watch uses) (required)
  2. The watcher callback (required)
  3. The minimum delay in milliseconds between the update hooks (default is 1000)
  4. Sync callback without delay

Related Packages

vue-long-click

Long click (longpress) directive library for VueJS

61,897 61
@sysvale/vue3-long-click

Long click (longpress) directive library for VueJS

15,709
vue-interval

A vue mixin to use methods as intervals, show times and values in intervals and...

1,645 10
vuetify-time-range-picker

A time range picker, made so users can easily pick a one day time interval.

842 3
vue-reactive-refs

Make $refs reactive so they can be used in computed properties and watchers

33,077 159

Version History

Version Released Vue License
0.1.3 ^3.2.31 ISC
0.1.2 ^3.2.31 ISC
0.1.1 3.2.30 ISC
0.1.0 3.2.30 ISC