Answer the question
In order to leave comments, you need to log in
What event to hang on the counter so that it fires when scrolling to a specific block on the page?
There is a counter, you need it to start its work when it gets into the scope
Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/en-US/docs/Web/API/I...
inside the observer you add a listener for the desired event
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question