Open ammsa opened 7 years ago
Is there a way to check if an element is in the viewport but has to be above the bottom 100px from the bottom edge of the viewPort? sorta like modifying the viewport height to be -100px less and checking inViewPort with the new height.
@AmmsA you can do that with the second argument https://github.com/ryanve/verge/tree/1.10.2#inviewport
Is there a way to check if an element is in the viewport but has to be above the bottom 100px from the bottom edge of the viewPort? sorta like modifying the viewport height to be -100px less and checking inViewPort with the new height.