Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bgrins/bindWithDelay

jQuery Plugin For Delayed Event Execution
https://github.com/bgrins/bindWithDelay

Last synced: 3 months ago
JSON representation

jQuery Plugin For Delayed Event Execution

Lists

README

        

bindWithDelay jQuery plugin
Author: Brian Grinstead
MIT license: http://www.opensource.org/licenses/mit-license.php

http://github.com/bgrins/bindWithDelay
http://briangrinstead.com/files/bindWithDelay

Usage:
See http://api.jquery.com/bind/
.bindWithDelay( eventType, [ eventData ], handler(eventObject), timeout, throttle )

Examples:
$("#foo").bindWithDelay("click", function(e) { }, 100);
$(window).bindWithDelay("resize", { optional: "eventData" }, callback, 1000);
$(window).bindWithDelay("resize", callback, 1000, true);