root property

JSObject? get root

The IntersectionObserver interface's read-only root property identifies the Element or Document whose bounds are treated as the of the for the element which is the observer's target.

If the root is null, then the bounds of the actual document viewport are used.

Implementation

external JSObject? get root;