So I currently use something like:
$(window).resize(function(){resizedw();});
But this gets called many times while resizing process goes o
This is the code that I write according to @Mark Coleman answer:
$(window).resize(function() { clearTimeout(window.resizedFinished); window.resizedFinished = setTimeout(function(){ console.log('Resized finished.'); }, 250); });
Thanks Mark!