Structs§
- See
ResizeObserver
’sobserve
method. - This is a convenience wrapper around
web_sys
ResizeObserver
, used withinEl
methods but also usable externally. Per the ECMAScript design discussions, if you need to monitor multiple elements with the same callback, using a singleResizeObserver
is faster than using multipleResizeObserver
s.