Skip to content

jQuery-based plugin that allows you to throttle and debounce your functions

License

Notifications You must be signed in to change notification settings

bdebrie/throttle-debounce-fn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Throttle Debounce Fn

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.

Compatibility

  • Chrome
  • Firefox
  • Edge
  • Opera
  • Safari
  • IE8+

Installation

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>

Usage

$.throttle(...);
$.debounce(...);

http://benalman.com/code/projects/jquery-throttle-debounce/docs/

Demos

http://benalman.com/code/projects/jquery-throttle-debounce/examples/throttle/ http://benalman.com/code/projects/jquery-throttle-debounce/examples/debounce/

License

MIT. See LICENSE.md for further information.

Authors

Miguel de Moura [email protected]
"Cowboy" Ben Alman

About

jQuery-based plugin that allows you to throttle and debounce your functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%