Intersection observer concepts and usage

The Intersection Observer API allows you to configure a callback that is called when either of these circumstances occur:

A target element intersects either the device's viewport or a specified element. That specified element is called the root element or root for the purposes of the Intersection Observer API.
The first time the observer is initially asked to watch a target element.
Typically, you'll want to watch for intersection changes with regard to the element's closest scrollable ancestor, or, if the element isn't a descendant of a scrollable element, the viewport. To watch for intersection relative to the root element, specify null.

  Topic Around the House Subtopic
4 Years 3 Answers 92 views

Peter Yeargin

Knowledge Areas : Gardening, Becoming an Artist, Learning, Motorcycles, Artificial Intelligence, Local/Regional Politics, Family Life, Console Games (Xbox, PS, Nintendo, etc.), Crowdfunding Startups, Incorporating a Startup, Basics of Founding a Startup, Finding and Choosing Investors, Early Stage Success Metrics

Reputation Score: 421

Submit An Answer

Answers ( 2 )

 
  1. Chayan Biswas 140 Accepted Answer

    what do you mean?

    UTC 2021-03-21 05:51 AM 1 Comment
  2. This is a great question. Have you tried googling some of the other options out there?

    UTC 2021-03-22 01:42 PM 0 Comments

To answer this question, you must be logged in.

Create an account

Already have an account? Login.

By Signing up, you indicate that you have read and agree to Sage's Terms and Conditions and Privacy Policy