disconnect
The disconnect()
method of the IntersectionObserver interface stops the observer watching all of its target elements for visibility changes.
The disconnect()
method of the IntersectionObserver interface stops the observer watching all of its target elements for visibility changes.