scrollmonitor icon indicating copy to clipboard operation
scrollmonitor copied to clipboard

on scroll event

Open Colir opened this issue 7 years ago • 1 comments
trafficstars

Hi. I would like to know if there a method to use the 'on scroll' function from scrollMonitor. The idea is to use it for create a custom parallax effect rather than coding another scrolling event handler. thank you, and especially thank for this lib !

Colir avatar Nov 14 '18 13:11 Colir

Check out scrollmonitor-parallax, the docs aren't great but it may do what you need.

There's no way with the library to receive a scroll event, but you can use it to add and remove scroll listeners as needed and use it to read the scroll position.

stutrek avatar Sep 14 '19 16:09 stutrek