This library is for calculating percentage of scrolls in the specified area.
npm install scroll-percentager
Please import bind
like below code.
import { bind } from 'scroll-percentager'
You pass ID of the Element which is scrollable area as 1st param.
After that, you can get percantage of scrolls in the area by using getCurrentPercentage()
.
MIT