svelte-intersection-tracker (npm): This component uses IntersectionObserver to not only track if elements are intersecting but also monitors and compares the percentage they are visible. The elements with highest visiblity get flagged current.
Keywords: svelte|component|intersection observer|IntersectionObserver