outerwidth
Get an element's outerwidth, including padding, borders, and margin. For use with Browserify.
Install
npm install outerwidth --save
Usage
var outerWidth = ; var el = document; elstylewidth = '100px';elstylemarginRight = '20px';elstyleborder = '1px solid #eee'; console // OUTPUTS: 122 - (width + marginRight + border)
Run Tests
Requires PhantomJS to be installed
npm install
npm test