0.0.2 • Published 11 years ago

get-calculated-style v0.0.2

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

getCalculatedStyle

Get the calculated style of any DOM element.

var height = getCalculatedStyle(myDomElement, 'height'); // returns height as a Number for example 100;

var paddingLeft = getCalculatedStyle(myDomElement, 'padding-left') // returns padding as a Number. For example 10;