LargestContentfulPaint

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

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

Constructors

Link copied to clipboard
constructor(renderTime: Double, loadTime: Double, size: Double, elementId: String? = null, url: String? = null, nodeId: Int? = 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: Int? = 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).