The most common method is based on scroll position and if the item is visible. When it becomes visible they fire an event.
Here’s an answer with a bit of code I’d check out.
The most common method is based on scroll position and if the item is visible. When it becomes visible they fire an event.
Here’s an answer with a bit of code I’d check out.