Reference index / 웹 렌더링·성능·상태
ResizeObserver
An API that reports size changes to an observed element, including content- or border-box measurements.
Try the example
When to use it
Resize the element and inspect callback measurements
Caveats and distinctions
Changing the observed size inside its callback can create loops; this demo separates the observed and output elements.
Implementation and classification
웹·CSS / 웹 렌더링·성능·상태 / HTML · CSS · JavaScript
Sources and verification status
https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver
Source scope and verification status describe the existing catalog record. Publishing this page does not independently re-verify the latest library version, license, or production behavior.