0.0.1 • Published 11 years ago
offset v0.0.1
offset
Get the xy offset of an element
Installation
$ component install anthonyshort/offset
API
offset(document.querySelector('#foo')).top
offset(document.querySelector('#bar')).left
License
MIT
0.0.1
11 years ago