Smart Resize And Scroll Events Detection In jQuery

File Size: 20.9 KB
Views Total: 2424
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Smart Resize And Scroll Events Detection In jQuery

The SmartResizeAndScroll jQuery plugin combines the resize() and scroll() functions into a smartresize() function with debounce support.

See also:

How to use it:

1. Import both jQuery JavaScript (slim build) and the jquery.smartresizeandscroll.js script into the document.

<script src="" 
<script src="jquery.smartresizeandscroll.js"></script>

2. Bind the smartresize function to any element where you want to track the scroll and resize events.

  // do something

  // do something

This awesome jQuery plugin is developed by 1010543618. For more Advanced Usages, please check the demo page or visit the official website.