npm.io
0.2.0 • Published 12 years ago

compute-style

Licence
MIT
Version
0.2.0
Deps
0
Vulns
0
Weekly
0
Stars
1

compute-style

returns an object with style information on an element.

npm install compute-value

USAGE

It's a function that takes two parameters: the element, and the style property


var getCSS = require('compute-style')

var primitiveValue = getCSS(element, 'width').primitive.val