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

The done() Callback

What should be called at the end of the @enter hook to inform Vue that the animation has finished?

Answer options

  • emit("complete")
  • return true
  • this.$transitionEnd()
  • The done() function passed as the second argument

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