Created
April 14, 2019 11:25
-
-
Save ivanmarkovich/d1145a9739d10d00ff2dc2c89b1596ed to your computer and use it in GitHub Desktop.
User scrolled to bottom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Strict: | |
if($(window).scrollTop() + $(window).height() == $(document).height()) | |
Near: | |
if($(window).scrollTop() + $(window).height() > $(document).height() - 100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment