Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

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