InterviewSolution
Saved Bookmarks
| 1. |
What are the differences and similarities between v-if and v-show directives? |
Answer»
Their similarity is that both are involved in adding or removing DOM elements. What makes them different is v-if uses conditions while v-show uses CSS properties to determine WHETHER to add an element or not. |
|