-
You didn't explain it in How it works. |
Beta Was this translation helpful? Give feedback.
Answered by
Kalabasa
Feb 24, 2024
Replies: 2 comments 4 replies
-
setTimeout is used when we want to run a function after a set of time is passed. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've just added an explanation to setTimeout in the dev snippet! tl;dr: The browser automatically scrolls DOM changes into view in response to user interaction. See 1a1e82e |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
niutech
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just added an explanation to setTimeout in the dev snippet!
tl;dr: The browser automatically scrolls DOM changes into view in response to user interaction.
See 1a1e82e