@wbe/use-document-scroll-top
TypeScript icon, indicating that this package has built-in type declarations

2.7.1 • Public • Published

@wbe/use-document-scroll-top

Get dynamic current document scrollTop.

Installation

$ npm install -s @wbe/use-document-scroll-top

How to use

import { useDocumentScrolltop } from "@wbe/use-document-scroll-top";

// scrollTop returns dynamic document scrollTop value
const scrollTop = useDocumentScrollTop();

Returns

(number): current document scrollTop

Readme

Keywords

Package Sidebar

Install

npm i @wbe/use-document-scroll-top

Weekly Downloads

0

Version

2.7.1

License

MIT

Unpacked Size

29.3 kB

Total Files

18

Last publish

Collaborators

  • willybe