IntersectionObserver: disconnect() method
Intersection Observer API
Intersection Observer API
The disconnect() method of the IntersectionObserver interface stops the observer watching all of its target elements for visibility changes.
Syntax
disconnect()
Parameters
None.
Return value
None (undefined).
Specifications
Browser compatibility
See also
- observe()
- unobserve()