Class LayoutShiftAttribution
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalLayoutShiftAttribution interface provides debugging information about elements which have shifted.
[Value("LayoutShiftAttribution")]
public class LayoutShiftAttribution
- Inheritance
-
LayoutShiftAttribution
- Inherited Members
Remarks
Instances of LayoutShiftAttribution are returned in an array by calling Sources.
Constructors
LayoutShiftAttribution()
public LayoutShiftAttribution()
Properties
CurrentRect
NOTE
ExperimentalcurrentRect read-only property of the LayoutShiftAttribution interface returns a DOMRectReadOnly object representing the position of the element after the shift.
[Value("currentRect")]
public DOMRectReadOnly CurrentRect { get; }
Property Value
- DOMRectReadOnly
A DOMRectReadOnly object.
Remarks
Node
NOTE
Experimentalnode read-only property of the LayoutShiftAttribution interface returns a Node representing the object that has shifted.
[Value("node")]
public Node? Node { get; }
Property Value
Remarks
PreviousRect
NOTE
ExperimentalpreviousRect read-only property of the LayoutShiftAttribution interface returns a DOMRectReadOnly object representing the position of the element before the shift.
[Value("previousRect")]
public DOMRectReadOnly PreviousRect { get; }
Property Value
- DOMRectReadOnly
A DOMRectReadOnly object.