npmjs.org : svelte-intersection-tracker
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.
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/svelte-intersection-tracker
Keywords:
svelte
, component
, intersection observer
, IntersectionObserver
License: MIT
Latest release: about 3 years ago
First release: about 3 years ago
Downloads: 0 last month
Stars: 5 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago