Module rooting::resize

source ·

Structs§

  • See ResizeObserver’s observe method.
  • This is a convenience wrapper around web_sys ResizeObserver, used within El methods but also usable externally. Per the ECMAScript design discussions, if you need to monitor multiple elements with the same callback, using a single ResizeObserver is faster than using multiple ResizeObservers.