Question · Vue.js course · Module 2: Template Syntax

When to Use v-show

When is it better to use v-show instead of v-if?

Answer options

  • Always
  • Never
  • Only with animations
  • When the element toggles frequently
Show the answer

Correct answer:

  • When the element toggles frequently