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

Animating cart items

In the last lesson we used a transition to add a fade effect to the cart total as it's added to the page.

Let's now add a fade effect on the cart items as they enter page by using a transition group.

Transition group.

The transition we made in the last video was on an single element where a v-if was used to make it enter and leave the DOM.

In the case of our cart items, though, we have a list of elements created with a v-for. Y

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


Click to load comments...