Using the "resizing" event listener I'd like to check if a browserwidth is getting smaller or larger.
I can use window.innerWidth to get the current width of the browser, but how can I check if the value is getting bigger or smaller than the previous one?