Which statement accurately describes the behavior of the ‘IntersectionObserver’ API regarding element visibility?

Web Development Hard

Web Development — Hard

Which statement accurately describes the behavior of the ‘IntersectionObserver’ API regarding element visibility?

Key points

  • Asynchronous execution avoids main-thread blocking.
  • Does not trigger layout reflows.
  • Supports observing intersections with any ancestor element.

Ready to go further?

Related questions