pub type IntersectionRoot = Option<ElementOrDocument<DomTypeHolder>>;
Expand description
The intersection root for an IntersectionObserver is the value of its root attribute if the attribute is non-null; otherwise, it is the top-level browsing context’s document node, referred to as the implicit root.
https://w3c.github.io/IntersectionObserver/#intersectionobserver-intersection-root
Aliased Type§
pub enum IntersectionRoot {
None,
Some(ElementOrDocument<DomTypeHolder>),
}