The target element or elements to observe.
The callback to invoke when a resize is detected.
Optionaloptions: MaybeRefOrGetter<ResizeObserverOptions>Optional configuration options.
A function to stop observing the targets and disconnect the ResizeObserver.
Reports changes to the dimensions of target elements using a ResizeObserver.