The ResizeObserver interface reports changes to the dimensions of an Element's content or border box, or the bounding box of an SVGElement.| MDN Web Docs