Vue.js · Directive
v-show
v-show controls an element's visibility from an expression. It keeps the element rendered and changes its CSS display style instead of creating or removing the element.
Last updated
Syntax
<element v-show="expression">...</element>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
v-ifv-elsev-else-ifConditional Rendering