Elementals.js

Latest Version: 3.0 RC 1 17 July 2017

Method _.Metrics.width

Summary:

Returns width of an element in pixels.

Calling Convention:
_.Metrics.width(Element)
Parameters:
Element
The element you want the width of.
Returns:
The width of the element in pixels, EXCLUDING any border!

Advertisement