isElementInViewport
v0.0.1
Published
detects if an element is in the viewport
Downloads
4
Maintainers
Readme
isElementInViewport
Install
npm install isElementInViewport --save
Usage
var el = document.getElementById('myElement')
console.log(isElementInViewport(el))
Versions
Development
npm test