Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The currentRect
read-only property of the LayoutShiftAttribution
interface returns a DOMRectReadOnly
object representing the position of the element after the shift.