Question · Vue.js course · Module 13: Transitions & Animations

The duration Prop

How do you set an explicit animation duration in <Transition>?

Answer options

  • style='animation-duration: 500ms'
  • :duration='500' or :duration='{ enter: 300, leave: 500 }'
  • time='500'
  • speed='0.5s'

You can check the correct answer by solving this task in the CodeWorlds game.