Plugin jQuery: bindWithDelay jQuery Plugin

bindWithDelay jQuery Plugin
http://www.jqueryrain.com/?http://briangrinstead.com/files/bindWithDelay/#example
https://github.com/bgrins/bindWithDelay
01/08/2013

Nội dung

bindWithDelay jQuery Plugin

jQuery Plugin For Delayed Event Execution.It prevents a function call from happening EVERY time an event is fired from the browser. Rather than implementing custom timeout code, just add in this plugin and simplify your code.

It works with existing code that uses the bind() function. Just add an extra parameter (timeout in milliseconds), and an optional boolean value if you would like to enable throttling.


Nguồn: www.jqueryrain.com/2013/08/bindwithdelay-jquery-plugin/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận