Boy with Silver Wings
1 min readMay 24, 2018

--

The code is used to check if any part of the element is visible as you can see in the demo. If you wish to check if element is fully visible, you can try code mentioned in one of the responses to this article.

--

--