JavaScripture
Contribute via GitHub Feedback

ResizeObserverEntry : Object

ResizeObserverEntry contains information about an element resize event that was observed by ResizeObserver.

Instance Properties

contentRect : DOMRectReadOnly  

The size of target.

Example:

Run

Results:

 

target : Element  

The element passed to ResizeObserver.observe() that changed size

Example:

Run

Results: