Directive v-if
When a v-if
element is toggled, the element and
its contained directives / components are
destroyed and re-constructed. If the initial
condition is falsy, then the inner content won’t
be rendered at all.
When a v-if
element is toggled, the element and
its contained directives / components are
destroyed and re-constructed. If the initial
condition is falsy, then the inner content won’t
be rendered at all.