v-show and v-if -> difference
v-if removed from dom
v-show- it will be just hide from dom
variable is true
then v-if is true v-show is true -> that element will show
v-show element not removes from dom just toggles that html
v-show
v-if
v-else
v-else-if
No comments:
Post a Comment