Put in order · Vue.js course · Module 13: Transitions & Animations
Staggered List Animation
Arrange the steps for implementing a staggered (delayed) list animation:
Items to put in order
- Run the animation with the calculated delay
- Set delay = index * 150ms
- In the @enter hook, read el.dataset.index
- Add :data-index to each element in v-for
You can check the correct answer by solving this task in the CodeWorlds game.