LargestContentfulPaint

@Serializable
data class LargestContentfulPaint(val renderTime: TimeSinceEpoch, val loadTime: TimeSinceEpoch, val size: Double, val elementId: String? = null, val url: String? = null, val nodeId: BackendNodeId? = null)(source)

See https://github.com/WICG/LargestContentfulPaint and largest_contentful_paint.idl

Official doc

Constructors

Link copied to clipboard
constructor(renderTime: TimeSinceEpoch, loadTime: TimeSinceEpoch, size: Double, elementId: String? = null, url: String? = null, nodeId: BackendNodeId? = null)

Properties

Link copied to clipboard
val elementId: String? = null

The id attribute of the element, if available.

Link copied to clipboard
Link copied to clipboard
val nodeId: BackendNodeId? = null
Link copied to clipboard
Link copied to clipboard

The number of pixels being painted.

Link copied to clipboard
val url: String? = null

The URL of the image (may be trimmed).