chromium/third_party/blink/renderer/core/intersection_observer/intersection_observer_entry.idl

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://wicg.github.io/IntersectionObserver/#intersection-observer-entry

[
    Exposed=Window
] interface IntersectionObserverEntry {
    readonly attribute DOMHighResTimeStamp time;
    // TODO(szager): |rootBounds| should not be nullable.
    readonly attribute DOMRectReadOnly? rootBounds;
    readonly attribute DOMRectReadOnly boundingClientRect;
    readonly attribute DOMRectReadOnly intersectionRect;
    readonly attribute boolean isIntersecting;
    readonly attribute boolean isVisible;
    readonly attribute double intersectionRatio;
    readonly attribute Element target;
};