Add scroll info to elements.
npm i has-scrolled
Or, if you're compiling your own Typescript like a good little dev
That's all well and good, but what does it do?
As you scroll down, it'll add a class and data attributes like so:
If you want scroll info for within another element, for it to add a suffixed class to a separate element, or tweak any other default config values: