@kohlmannj/react-scroll-percentage
Version:
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.
1 lines • 252 B
Source Map (JSON)
{"version":3,"file":"scroll.d.ts","sourceRoot":"","sources":["../src/scroll.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GAAG,MAAM,IAAI,CAAA;AAiCxC,wBAAgB,KAAK,CAAC,EAAE,EAAE,eAAe,QAKxC;AAED,wBAAgB,OAAO,CAAC,EAAE,EAAE,eAAe,QAK1C;AAED,wBAAgB,OAAO,SAEtB"}