Firefox Tomorrow

web api instance method

IntersectionObserver: disconnect() method

View on MDN ↗

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also