Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2019年3月.
target は IntersectionObserverEntry インターフェイスの読み取り専用プロパティで、交差ルートとの交差量が変化したのがどの対象要素であるかを Element で示します。
IntersectionObserverEntry の target プロパティは、以前に IntersectionObserver.observe() を呼び出して対象とした Element の中で、ルートとの交差量が変化したものを示します。
この単純な例では、対象となるそれぞれの要素の opacity が、その intersectionRatio に設定されます。
より具体的な例については、交差状態の変化の扱いをご覧ください。
| Intersection Observer # dom-intersectionobserverentry-target |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年9月17日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.