Answer the question
In order to leave comments, you need to log in
How to change component on scroll vue js?
There is a site, each page is occupied by 100% of the height:
- on the first page (component 1) there is a square;
- on the second page (component 2) there is a circle;
Question:
How can I make it so that when scrolling down or up, switching between components occurs? I want to make a smooth transition between components, as the design implies smoothness.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Subscribe to the scroll event, change one component to another.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question