djpetti / MALLARD

Store image objects to MinIO object storage and metadata to MySQL database. Easily store and retrieve using metadata.
Apache License 2.0
0 stars 0 forks source link

Use the `IntersectionObserver` API for visibility tracking #11

Open djpetti opened 1 year ago

djpetti commented 1 year ago

(API Reference)[https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API]

I suspect this will be simpler and more performant than the existing scroll-event-based implementation.