spiegel-keyman/web/docs/engine/reference/util/getAbsoluteX.md
Marc Durdin 1f82507730 docs(web): deprecate unused and obsolete API endpoints and docs cleanup
Deprecate the following obsolete functions and properties:
* `keyman.helpURL`
* `keyman.util.rgba`
* `keyman.util.toFloat`
* `keyman.util.toNumber`
* `keyman.util.toNzString`

Use correct language for code blocks in Keyman Engine for Web
documentation.

Test-bot: skip
2026-08-12 16:07:22 +02:00

30 lines
417 B
Markdown

---
title: getAbsoluteX
---
## Summary
Get the absolute x-coordinate of an element.
## Syntax
```js
keyman.util.getAbsoluteX(Pelem);
```
### Parameters
`Pelem`
: Type: `Element`
: An HTML element.
### Return Value
`number`
: The specified element's absolute x-coordinate on the page.
## Description
See also:
- [`keyman.util.getAbsolute()`](getAbsolute)
- [`keyman.util.getAbsoluteY()`](getAbsoluteY)