The target element or elements to observe.
The callback to invoke when an intersection change is detected.
Optionaloptions: MaybeRefOrGetter<IntersectionObserverInit>Optional configuration options.
A function to stop observing the targets and disconnect the IntersectionObserver.
Reports changes in the intersection of target elements with an ancestor element or with a top-level document viewport using an IntersectionObserver.