@patrickspafford/use-scroll-progress
v1.0.5
Published
This is a Preact-only hook.
Downloads
3
Readme
@patrickspafford/use-scroll-progress
This is a Preact-only hook.
Installation
yarn add @patrickspafford/use-scroll-progress
Usage
const scrollProgress = useScrollProgress({
throttleDelay: 600, // measured in milliseconds
})