Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Position

It's not showing off, it's a position statement

Let me add a little more info about the methods that tell you about element positioning:

returns the DOM element's position relative to the document, the data comes as an object: { top: 10, left: 30 }

sets the DOM element's position at the specified coordinates

returns the DOM element's position relative to its parent element

Last updated