No description, website, or topics provided.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib Initial commit! Aug 26, 2011
spec/javascripts pass arguments through to callback Aug 26, 2011
src pass arguments through to callback Aug 26, 2011
.gitignore Initial commit! Aug 26, 2011
Gemfile Initial commit! Aug 26, 2011
Gemfile.lock Initial commit! Aug 26, 2011
LICENSE.txt MIT Aug 26, 2011
README.md Initial commit! Aug 26, 2011
Rakefile Initial commit! Aug 26, 2011

README.md

jquery-debounce

jquery-debounce is a jQuery plugin that allows you to easily debounce event callbacks.

How do I use it?

Signature

$.fn.debounce(event, callback, delay);

Example

$("#foo").debounce("click", function() { }, 500);

  • Debounce the click event on #foo for 500 milliseconds

Tests

Running the test suite requires RubyGems and the Bundler gem. To run the tests run rake jasmine