observe method

void observe(
  1. Element target, [
  2. ResizeObserverOptions options
])

The observe() method of the ResizeObserver interface starts observing the specified Element or SVGElement.

Implementation

external void observe(
  Element target, [
  ResizeObserverOptions options,
]);