0.1.0 • Published 9 years ago
bounding v0.1.0
bounding
Normalized cross-browser element.getClientBoundingRect
npm install bounding --savevar bounding = require('bounding')API
bounding(element)
Get a normalized plain object representing element's client bounding rectangle
{
  bottom: 118.875,
  height: 97.4375,
  left: 19.5,
  right: 630.5,
  top: 21.4375,
  width: 611,
  x: 19.5,
  y: 21.4375
}License
MIT
0.1.0
9 years ago