<resize-observer>

A custom element that offers a declarative interface to the ResizeObserver API.

Example

Open the browser's console to watch the emitted resize events.
Resize this box and check the console.

Resize observer is enabled.

Source

Source code and documentation can be found in Github repository.

License

The MIT License (MIT)