element-size ![stable](https://camo.githubusercontent.com/5cd3df2dc41de541ea4d16524e39eae78807a7e414c43e3805c080a32bcfa498/687474703a2f2f6261646765732e6769746875622e696f2f73746162696c6974792d6261646765732f646973742f737461626c652e737667)
Get the size of an element in pixels, including margins
Usage
[width, height] = size(element)
Given a DOM element
, return an array containing that element's width
and height
in pixels.
License
MIT. See LICENSE.md for details.