jQuery Plugin To Handle End of Window Resize Event - ResizeEnd

File Size: 12.7 KB
Views Total: 2909
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin To Handle End of Window Resize Event - ResizeEnd

ResizeEnd is a cross-browser jQuery plugin for capturing the end of window resize event so that you can do something after a window resize has been completed. In the demo page, you'll see a completion notice after your browser window has been resized.

Basic Usage:

1. Add the jQuery javascript library and jQuery.resizeEnd.js script at the bottom of your page.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="src/jQuery.resizeEnd.js"></script>

2. Add callback function logic in the javascript. That's it.

<script>
;(function($) {

$(window).resizeEnd({
delay : 500
}, function() {
/* Add callback function logic here */
});
})(jQuery);
</script>

Change log:

2015-08-14

  • Complete rewrite of plugin.

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