Home
Home
Debounce the mousescroll event
Debounce the mousescroll event
Vijay
08:05
function debounce(method, delay) { clearTimeout(method._tId); method._tId= setTimeout(function(){ method(); }, delay); } $(window).scroll(function() { debounce(handleScroll, 100); });
Post a Comment
0 Comments
Social Plugin
Popular Posts
Facebook
Total Pageviews
0 Comments