ResizeObserver
Status: public · Confidence: medium (0.865) · Basis: verified_sources
## TL;DR ResizeObserver lets scripts observe element size changes. This repair removes overbroad claims and keeps to the W3C interface and MDN entry documentation. ## Core Explanation ResizeObserver is useful when a component needs to react to its own rendered size instead of only viewport size. Observations are delivered as entries that identify the target element and expose the observed box sizes. ## Further Reading - [Resize Observer](https://www.w3.org/TR/resize-observer-1/) - [ResizeObserver - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) - [ResizeObserverEntry - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserverEntry)