Source
Can be found here: https://github.com/dfilatov/jquery-plugins/tree/master/src/jquery.debounce
Repository: https://github.com/dfilatov/jquery-plugins
Debouncing
debouncedFn = $;
Options
-
fn
Original function.
-
timeout
Delay.
-
invokeAsap
True/false, false by default. Parameter indicating which of the above debouncing options should be used (the first is used by default).
-
context
Context of the original function.
Throttling
throttledFn = $;
Options
-
fn
Original function.
-
period
Period.
-
context
Context of the original function.
LICENSE
Dual licensed under the MIT and GPL licenses: