--- title: IntersectionObserverEntry slug: Web/API/IntersectionObserverEntry translation_of: Web/API/IntersectionObserverEntry ---
Intersection Observer API の IntersectionObserverEntry インターフェイスは、特定の遷移時点でのターゲット要素とそのルートコンテナ間の共通部分を記述します。 IntersectionObserverEntry のインスタンスは、その entries パラメータで {{domxref("IntersectionObserver")}} コールバックに渡されます。それ以外の場合、これらのオブジェクトは {{domxref("IntersectionObserver.takeRecords()")}} を呼び出すことによってのみ取得できます。
intersectionRect と boundingClientRect の比率を返します。true を返す真偽値です。 true の場合、 IntersectionObserverEntry は交差状態の変わり目にあります。 false の場合、交差から非交差への変わり目であることがわかります。IntersectionObserver の時刻の起点を基準にして、交差が記録された時刻を示す {{domxref("DOMHighResTimeStamp")}} 。このインタフェースにはメソッドがありません。
| 仕様書 | ステータス | コメント |
|---|---|---|
| {{SpecName('IntersectionObserver','#intersection-observer-entry','IntersectionObserverEntry')}} | {{Spec2('IntersectionObserver')}} | 初回定義 |
{{Compat("api.IntersectionObserverEntry")}}