npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

@hemanth/scroll-precent

1.0.0

@hemanth

npmHomeRepoSnykSocket
Downloads:1
$ npm install @hemanth/scroll-precent
DailyWeeklyMonthlyYearly

scroll-precent

Get percentage of scroll.

Install

$ npm install --save @hemanth/scroll-precent

Usage

const scrollPrecent = require('@hemanth/scroll-precent');

document.addEventListener('scroll', () => {
	console.log(scrollPrecent()); //0-100
});

License

MIT © Hemanth.HM