element-pixels-visible
v0.0.2
Published
How many pixels of an element is visible in the viewport
Downloads
4
Readme
element-pixels-visible
A method for getting the number of pixles of an element that is visible inside the browser.
Usage
Pass an Element to the method to get the number of pixels visible.
elementPixelsVisible(document.getElementById('#foo'));
Attribution
This project is based on bv-ui-pixels-displayed with added support for IE8.
License
MIT