@kohlmannj/react-scroll-percentage
Version:
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.
3 lines (2 loc) • 88 B
text/typescript
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.