Elementals.js

Latest Version: 3.7 Final 20 December 2018

Method _.Metrics.absoluteX

Summary:

Returns the left pixel coordinate of the passed Element in relation to the upper-right corner of document.body.

Calling Convention:
_.Metrics.absoluteX(Element)
Parameters:
Element
The element you want the left edge of
Returns:
The left edge pixel coordinate of the element in relation to document.body

Advertisement