blob: 475284d1e29e39bfb98de0373b48cfddd116818f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2016 The Chromium Authors. All rights reserved.
// 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;
[RuntimeEnabled=IntersectionObserverV2] readonly attribute boolean isVisible;
readonly attribute double intersectionRatio;
readonly attribute Element target;
};
|