Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

Method _.Metrics.absoluteY

Summary:

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

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

Advertisement