chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.performancetimeline / LayoutShift

LayoutShift

data class LayoutShift

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

Official doc

Constructors

<init>

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

LayoutShift(value: Double, hadRecentInput: Boolean, lastInputTime: TimeSinceEpoch, sources: List<LayoutShiftAttribution>)

Properties

hadRecentInput

val hadRecentInput: Boolean

lastInputTime

val lastInputTime: TimeSinceEpoch

sources

val sources: List<LayoutShiftAttribution>

value

Score increment produced by this event.

val value: Double