bounding-client-rect
getBoundingClientRect()
for all Node types
Cross-browser
getBoundingClientRect()
that works on DOM
Elements
,
Ranges
, and
TextNodes
.
Installation
$ npm install bounding-client-rect