jQuery Plugin For Handling Window Resize Events - resizeend & resizestart
| File Size: | 19.5 KB |
|---|---|
| Views Total: | 757 |
| Last Update: | |
| Publish Date: | |
| Official Website: | Go to website |
| License: | MIT |
jQuery Plugins (resizeend and resizestart) that listens to the browser window resize events and performs a callback function on resize start and resize end.
How to use it:
1. Include jQuery library and the jQuery resizeend (resizestart) plugins on the webpage.
<script src="jquery.min.js"></script> <script src="js/jquery.resizeend.js"></script> <script src="js/jquery.resizestart.js"></script>
2. Execute a callback after window resize.
// delay time = 250ms
$(window).on('resizeend', 250, function() {
// do something
});
3. Execute a callback when the window starts resizing.
// delay time = 250ms
$(window).on('resizestart', 250, function() {
// do something
});
This awesome jQuery plugin is developed by nielse63. For more Advanced Usages, please check the demo page or visit the official website.











