Skip to content
A boolean scroll position React hook.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
package-lock.json
package.json
useHasScroll.js

README.md

has-scroll-hook

A boolean scroll position React hook.

Installation:

yarn add has-scroll-hook # Or, npm install has-scroll-hook

Usage:

import { useHasScroll } from "has-scroll-hook";

...

function YourComponent() {
  const hasScroll = useHasScroll();
}
You can’t perform that action at this time.