Class LayoutShift
- Namespace
- Selenium.WebDriver.BiDi.Cdp.PerformanceTimeline
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
public sealed record LayoutShift : IEquatable<LayoutShift>
- Inheritance
-
LayoutShift
- Implements
- Inherited Members
Constructors
LayoutShift(double, bool, TimeSinceEpoch, ImmutableArray<LayoutShiftAttribution>)
See https://wicg.github.io/layout-instability/#sec-layout-shift and layout_shift.idl
public LayoutShift(double Value, bool HadRecentInput, TimeSinceEpoch LastInputTime, ImmutableArray<LayoutShiftAttribution> Sources)
Parameters
ValuedoubleScore increment produced by this event.
HadRecentInputboolLastInputTimeTimeSinceEpochSourcesImmutableArray<LayoutShiftAttribution>
Properties
HadRecentInput
public bool HadRecentInput { get; init; }
Property Value
LastInputTime
public TimeSinceEpoch LastInputTime { get; init; }
Property Value
Sources
public ImmutableArray<LayoutShiftAttribution> Sources { get; init; }
Property Value
Value
Score increment produced by this event.
public double Value { get; init; }