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