html-dom
html-dom copied to clipboard
Add infinite scroller using the IntersectionObserver
Add a modern implementation of an infinite scroller using the IntersectionObserver API.
Basically the code example attached to the following post by Surma is a good place to start: https://developers.google.com/web/updates/2016/04/intersectionobserver
Code/demo: https://googlechrome.github.io/samples/intersectionobserver/
You'll see it 👍
@phuoc-ng you're awesome :) I'll open more soon!