LayoutShift

@Serializable
data class LayoutShift(val value: Double, val hadRecentInput: Boolean, val lastInputTime: Double, val sources: List<PerformanceTimeline.LayoutShiftAttribution>)

See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl

Constructors

Link copied to clipboard
constructor(value: Double, hadRecentInput: Boolean, lastInputTime: Double, sources: List<PerformanceTimeline.LayoutShiftAttribution>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Score increment produced by this event.