Created
October 23, 2021 11:31
-
-
Save gustavofabro/90a3fc37af97753f2f9893e754b31ac5 to your computer and use it in GitHub Desktop.
Uso da flag isIntersecting
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
if (!entries[0].isIntersecting) { | |
return; | |
} | |
// Função responsável por carregar mais itens |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment