LayoutShiftAttribution class

The interface of the Layout Instability API provides debugging information about elements which have shifted. Instances of are returned in an array by calling LayoutShift.sources.

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

LayoutShiftAttribution()
factory

Properties

currentRect → DOMRectReadOnly

Available on LayoutShiftAttribution, provided by the PropsLayoutShiftAttribution extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
node → Node?

Available on LayoutShiftAttribution, provided by the PropsLayoutShiftAttribution extension

no setter
previousRect → DOMRectReadOnly

Available on LayoutShiftAttribution, provided by the PropsLayoutShiftAttribution extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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