IntersectionObserverEntryInit Class
The values of an IntersectionObserverEntry (https://w3c.github.io/IntersectionObserver/#dictdef-intersectionobserverentryinit).
public sealed class IntersectionObserverEntryInitConstructors
| Name | Description |
|---|---|
| IntersectionObserverEntryInit() |
IntersectionObserverEntryInit()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public IntersectionObserverEntryInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| BoundingClientRect | Gets or sets the bounding box of the target. |
| IntersectionRatio | Gets or sets the ratio of the intersection area to the area of the bounding box of the target. |
| IntersectionRect | Gets or sets the intersection of the target with the root. |
| IsIntersecting | Gets or sets whether the target intersects the root. |
| IsVisible | Gets or sets whether the target is visible. |
| RootBounds | Gets or sets the root intersection rectangle, or null. |
| Target | Gets or sets the target. |
| Time | Gets or sets the time of the observation. |
BoundingClientRect
IntersectionObserver.csGets or sets the bounding box of the target.
public required DomRectInit BoundingClientRect { get; init; }IntersectionRatio
IntersectionObserver.csGets or sets the ratio of the intersection area to the area of the bounding box of the target.
public required double IntersectionRatio { get; init; }IntersectionRect
IntersectionObserver.csGets or sets the intersection of the target with the root.
public required DomRectInit IntersectionRect { get; init; }IsIntersecting
IntersectionObserver.csGets or sets whether the target intersects the root.
public required bool IsIntersecting { get; init; }IsVisible
IntersectionObserver.csGets or sets whether the target is visible.
public required bool IsVisible { get; init; }RootBounds
IntersectionObserver.csGets or sets the root intersection rectangle, or null.
public required DomRectInit? RootBounds { get; init; }Target
IntersectionObserver.csGets or sets the target.
public required Element Target { get; init; }Gets or sets the time of the observation.
public required double Time { get; init; }