The Resize Observer API provides a performant mechanism by which code can monitor an element for changes to its size, with notifications being delivered to the observer each time the size changes.
Companies Mentioned
Mozilla Contributors
@mozilla
Mozilla (stylized as moz://a) is a free software community founded in 1998 by members of Netscape.