LayoutShift class

The interface of the Layout Instability API provides insights into the stability of web pages based on movements of the elements on the page.

PerformanceEntry

LayoutShift

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

LayoutShift()
factory

Properties

duration double

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
entryType String

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
hadRecentInput bool

Available on LayoutShift, provided by the PropsLayoutShift extension

no setter
hashCode int
The hash code for this object.
no setterinherited
lastInputTime double

Available on LayoutShift, provided by the PropsLayoutShift extension

no setter
name String

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sources Iterable<LayoutShiftAttribution>

Available on LayoutShift, provided by the PropsLayoutShift extension

no setter
startTime double

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

no setter
value double

Available on LayoutShift, provided by the PropsLayoutShift extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() → dynamic

Available on LayoutShift, provided by the PropsLayoutShift extension

toJSON() → dynamic

Available on PerformanceEntry, provided by the PropsPerformanceEntry extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited