Hi, I have a pretty simple question today,
I know
window.innerWidth
, and
window.innerHeight
return a user's window width and height on load.
I'd like to know if there's a way for these values to be constantly updated - for example, if a user resizes their window, the innerWidth and innerHeight values should update automatically.
Thanks!