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
- The watcher function or watched target (same as
watchuses) (required) - The watcher callback (required)
- The minimum delay in milliseconds between the update hooks (default is
1000) - Sync callback without delay
Related Packages
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
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 |