The video for this lesson is currently being updated, please read the transcript instead.

Understanding transitions

Another major feature of Vue is transitions. These allow us to apply animation whenever elements are added to or removed from the DOM.

Take a look at this example here in the docs. When we click the button, we see the text fading in and out as the element leaves the page.

You might be thinking, well, isn't that CSS, like, what does that got to do with Vue?

To view the complete lesson you'll need to login or join this course.


Click to load comments...