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
PerformanceEntry LargestContentfulPaint

Properties

NameDescription
ElementGets the element, or null when it is no longer exposed for paint timing (it was removed from its document).
IdGets the id of the element when the entry was created.
LoadTimeGets the time the image finished loading, or 0 for a text.
PaintTimeGets the time of the end of the rendering update that painted the content.
PresentationTimeGets the time the frame was presented to the user: null, the presentation time is not supported.
RenderTimeGets the time the content was painted (the default paint timestamp of the rendering update).
SizeGets the effective visual size of the content, in CSS pixels squared.
UrlGets the URL of the image, or the empty string for a text.

Gets 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; }

Gets the time the image finished loading, or 0 for a text.

public double LoadTime { get; }

Gets the time of the end of the rendering update that painted the content.

public double PaintTime { get; }

PresentationTime

PaintTiming.cs

Gets the time the frame was presented to the user: null, the presentation time is not supported.

public double? PresentationTime { get; }

RenderTime

PaintTiming.cs

Gets the time the content was painted (the default paint timestamp of the rendering update).

public double RenderTime { get; }

Gets the effective visual size of the content, in CSS pixels squared.

public uint Size { get; }

Gets the URL of the image, or the empty string for a text.

public string Url { get; }