Can I set inView true? #639
-
I want to scroll to a particular element in DOM when user clicks a button, can this be achieved by setting inView true for that element id ? |
Beta Was this translation helpful? Give feedback.
Answered by
thebuilder
Jul 10, 2023
Replies: 1 comment
-
No. The IntersectionObserver is just a reporter. You could use something like scrollIntView, or simply a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aditi-gawli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No. The IntersectionObserver is just a reporter.
You could use something like scrollIntView, or simply a
#hash
link.