feat: add v-if documentation for Vue.js (#6415)
* feat: add v-if documentation for Vue.js * Update src/data/roadmaps/vue/content/v-if@xHj3W9Ig3MVuVlGyXchaP.md --------- Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/6470/head
parent
0dd89305a0
commit
50e3566e7d
1 changed files with 9 additions and 1 deletions
@ -1 +1,9 @@ |
||||
# v-if |
||||
|
||||
Conditionally render an element or a template fragment based on the truthy-ness of the expression value. |
||||
|
||||
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. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@v-if Documentation](https://vuejs.org/api/built-in-directives.html#v-if) |
Loading…
Reference in new issue