How to wait for the 'end' of 'resize' event and only then perform an action?

So I currently use something like:

$(window).resize(function(){resizedw();});

But this gets called many times while resizing process goes on. Is it possible to catch an event when it ends?

222
задан Brian Tompsett - 汤莱恩 23 August 2019 в 07:53
поделиться