Throttle Debounce Fn is a jQuery-based plugin that allows you to throttle and debounce your functions. It is based on jQuery-Throttle-Debounce, with only a few changes. Full credits to the original author.
This repository/package was created for integration with https://github.com/nielsenramon/chalk.
- Chrome
- Firefox
- Edge
- Opera
- Safari
- IE8+
npm install throttle-debounce-fn
You may also manually download the dist/throttle-debounce-fn.min.js
file.
Throttle Debounce Fn requires jQuery 1.4.0+ to work.
<!-- jQuery must be loaded before this line -->
<script src="throttle-debounce-fn.min.js"></script>
$.throttle(...);
$.debounce(...);
http://benalman.com/code/projects/jquery-throttle-debounce/docs/
http://benalman.com/code/projects/jquery-throttle-debounce/examples/throttle/ http://benalman.com/code/projects/jquery-throttle-debounce/examples/debounce/
MIT. See LICENSE.md
for further information.
Miguel de Moura [email protected]
"Cowboy" Ben Alman