MDN self-hosted library · e01.org

IntersectionObserver: disconnect() method

Intersection Observer API

no runnable cells web-api-instance-method upstream source

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()