1.0.6-rc.0 • Published 6 years ago
jquery-debounce-throttle v1.0.6-rc.0
##Debouncing
debouncedFn = $.debounce(fn, timeout, [invokeAsap], [context]);
Options
fnOriginal function.
timeoutDelay.
invokeAsapTrue/false, false by default. Parameter indicating which of the above debouncing options should be used (the first is used by default).
contextContext of the original function.
##Throttling
throttledFn = $.throttle(fn, period, [context]);
Options
fnOriginal function.
periodPeriod.
contextContext of the original function.