compute-style
v0.2.0 css DOM style
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
npm i compute-style
Source Code
[email protected]:NHQ/compute-s...Metadata
- MIT
- Whatever
- johnnyscript.us
- released 10/17/2013