debounce:number | { leading?: boolean; trailing?: boolean; wait: number }
Delays invoking event until specified time has elapsed since the last time the debounced function was invoked.
You can provide number of milliseconds to delay or some advanced options.
Delays invoking event until specified time has elapsed since the last time the debounced function was invoked. You can provide
number
of milliseconds to delay or some advanced options.