WebIDLpedia

IntersectionObserverInit dictionary

Definition

Intersection Observer defines IntersectionObserverInit



dictionary IntersectionObserverInit {
  (Element or Document)?  root = null;
  DOMString rootMargin = "0px";
  DOMString scrollMargin = "0px";
  (double or sequence<double>) threshold = 0;
  long delay = 0;
  boolean trackVisibility = false;
};

Referring IDL interfaces/dictionaries