IntersectionObserverEntry: rootBounds プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
IntersectionObserverEntry
インターフェイスの読み取り専用の rootBounds
プロパティは DOMRectReadOnly
であり、この target
のルート耕作系に対応します。指定されていれば、 IntersectionObserver.rootMargin
によるオフセットを含みます。
値
DOMRectReadOnly
で、ルート交差矩形を表します。 Document
のビューポートであるルートの場合、この矩形は文書全体の境界矩形となります。そうでない場合は、ルート要素の境界となります。
この矩形のオフセットは IntersectionObserver.rootMargin
の値で指定します。
仕様書
Specification |
---|
Intersection Observer # dom-intersectionobserverentry-rootbounds |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
rootBounds |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.