Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master
Failed to load latest commit information.
lib Initial commit!
spec/javascripts pass arguments through to callback
src pass arguments through to callback
.gitignore Initial commit!
Gemfile Initial commit!
Gemfile.lock Initial commit!
LICENSE.txt MIT
README.md Initial commit!
Rakefile Initial commit!

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

Something went wrong with that request. Please try again.