The Resize Observer API can be used to observe changes to size of Element's content rect.

Demos

Documentation

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>Layout


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Search tags

resizeobserver, resize,

Last updated on 2020-11-09