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