Definition and Application When the browser window is resized, the onresize event fires. Use the clientWidth, clientHeight, innerWidth, innerHeight, outerWidth, outerHeight, offsetWidth, and/or offsetHeight properties to determine the size of an element.
OnResize is an event that is triggered when the browser window is resized. It could be triggered by a resize, a scroll, or even a change in orientation.
Share a personalized message with your friends.