LargestContentfulPaint Class
A largest contentful paint candidate of a document (https://w3c.github.io/largest-contentful-paint/#sec-largest-contentful-paint-interface): the largest image or text painted so far, reported to the largest-contentful-paint performance observers of its window.
public sealed class LargestContentfulPaint : PerformanceEntry- Inheritance
PerformanceEntryLargestContentfulPaint
Properties
| Name | Description |
|---|---|
| Element | Gets the element, or null when it is no longer exposed for paint timing (it was removed from its document). |
| Id | Gets the id of the element when the entry was created. |
| LoadTime | Gets the time the image finished loading, or 0 for a text. |
| PaintTime | Gets the time of the end of the rendering update that painted the content. |
| PresentationTime | Gets the time the frame was presented to the user: null, the presentation time is not supported. |
| RenderTime | Gets the time the content was painted (the default paint timestamp of the rendering update). |
| Size | Gets the effective visual size of the content, in CSS pixels squared. |
| Url | Gets the URL of the image, or the empty string for a text. |
Element
PaintTiming.csGets the element, or null when it is no longer exposed for paint timing (it was removed from its document).
public Element? Element { get; }Gets the id of the element when the entry was created.
public new string Id { get; }Property value
See also
LoadTime
PaintTiming.csGets the time the image finished loading, or 0 for a text.
public double LoadTime { get; }PaintTime
PaintTiming.csGets the time of the end of the rendering update that painted the content.
public double PaintTime { get; }PresentationTime
PaintTiming.csGets the time the frame was presented to the user: null, the presentation time is not supported.
public double? PresentationTime { get; }Property value
See also
RenderTime
PaintTiming.csGets the time the content was painted (the default paint timestamp of the rendering update).
public double RenderTime { get; }Size
PaintTiming.csGets the effective visual size of the content, in CSS pixels squared.
public uint Size { get; }Property value
See also
Gets the URL of the image, or the empty string for a text.
public string Url { get; }