html-dom icon indicating copy to clipboard operation
html-dom copied to clipboard

Add infinite scroller using the IntersectionObserver

Open LironHazan opened this issue 4 years ago • 2 comments

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/

LironHazan avatar Apr 01 '20 18:04 LironHazan

You'll see it 👍

phuocng avatar Apr 02 '20 01:04 phuocng

@phuoc-ng you're awesome :) I'll open more soon!

LironHazan avatar Apr 02 '20 08:04 LironHazan