Scroll call counter:

A) Window.scroll:

B) Passive eventListener:

c) Interval:

D) Timeout:

E) RAF:


Lets Rock'n scroll!
Example using Window.scroll
Example using EventListener
Example using Interval
Example using Timeout
Example RaF