Methods

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

This section describes the methods associated with the Intersection Observer API.

In this section

TopicDescription

observe

Specifies the target element for IntersectionObserver to observe.

unobserve

Stops the IntersectionObserver from observing a specific target.

disconnect

Stops the IntersectionObserver from observing all targets.

takeRecords

Returns an array of IntersectionObserverEntry objects for the observed targets.

 

 

 

Show: