@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="IntersectionObserverEntry")
public class IntersectionObserverEntry
extends JsObject
| Constructor and Description |
|---|
IntersectionObserverEntry(IntersectionObserverEntryInit intersectionObserverEntryInit) |
| Modifier and Type | Method and Description |
|---|---|
DOMRectReadOnly |
boundingClientRect()
The IntersectionObserverEntry interface's read-only boundingClientRect property returns a DOMRectReadOnly which in essence describes a rectangle describing the smallest rectangle that contains the entire target element.
|
double |
intersectionRatio()
The IntersectionObserverEntry interface's read-only intersectionRatio property tells you how much of the target element is currently visible within the root's intersection ratio, as a value between 0.0 and 1.0.
|
DOMRectReadOnly |
intersectionRect()
The IntersectionObserverEntry interface's read-only intersectionRect property is a DOMRectReadOnly object which describes the smallest rectangle that contains the entire portion of the target element which is currently visible within the intersection root.
|
boolean |
isIntersecting()
The IntersectionObserverEntry interface's read-only isIntersecting property is a Boolean value which is true if the target element intersects with the intersection observer's root.
|
DOMRectReadOnly |
rootBounds()
The IntersectionObserverEntry interface's read-only rootBounds property is a DOMRectReadOnly corresponding to the target's root intersection rectangle, offset by the IntersectionObserver.rootMargin if one is specified.
|
Element |
target()
The IntersectionObserverEntry interface's read-only target property indicates which targeted Element has changed its amount of intersection with the intersection root.
|
double |
time()
The IntersectionObserverEntry interface's read-only time property is a DOMHighResTimeStamp that indicates the time at which the intersection change occurred relative to the time at which the document was created.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic IntersectionObserverEntry(@Nonnull
IntersectionObserverEntryInit intersectionObserverEntryInit)
@JsProperty(name="boundingClientRect") @Nonnull public DOMRectReadOnly boundingClientRect()
@JsProperty(name="intersectionRatio") public double intersectionRatio()
@JsProperty(name="intersectionRect") @Nonnull public DOMRectReadOnly intersectionRect()
@JsProperty(name="isIntersecting") public boolean isIntersecting()
@JsProperty(name="rootBounds") @Nullable public DOMRectReadOnly rootBounds()
@JsProperty(name="target") @Nonnull public Element target()
@JsProperty(name="time") public double time()