D
D
Danya Wyse2022-04-21 22:34:13
JavaScript
Danya Wyse, 2022-04-21 22:34:13

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

1 answer(s)
W
wonderingpeanut, 2022-04-21
@wonderingpeanut

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 question

Ask a Question

731 491 924 answers to any question