Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:modul:m291:learningunits:lu05:loesungen:01 [2025/01/22 09:36] – vdemir | en:modul:m291:learningunits:lu05:loesungen:01 [2025/02/06 11:34] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== LU05.S01 - Control questions ====== | + | ====== LU05.S01 |
| ===== Notes ===== | ===== Notes ===== | ||
| Zeile 6: | Zeile 6: | ||
| **1. Explain what is meant by the term directives** | **1. Explain what is meant by the term directives** | ||
| - | * // | + | |
| + | // | ||
| **2. Give some concrete examples for directives and explain them briefly ** | **2. Give some concrete examples for directives and explain them briefly ** | ||
| Zeile 13: | Zeile 14: | ||
| | v-bind | Connects the HTML-attributes tags regarding data with the VUE Framework | | | v-bind | Connects the HTML-attributes tags regarding data with the VUE Framework | | ||
| | v-on | Connects the HTML-attributes tags regarding events i.e. Mausclick, etc. with VUE | | | v-on | Connects the HTML-attributes tags regarding events i.e. Mausclick, etc. with VUE | | ||
| - | | v-if | Erstellt | + | | v-if | Creates |
| | v-show | Specific v-if statement that only visible if a condition is fulfilled. | | | v-show | Specific v-if statement that only visible if a condition is fulfilled. | | ||
| | v-for | Creates a list of tags, which are sourced by a VUE array | | | v-for | Creates a list of tags, which are sourced by a VUE array | | ||
| Zeile 19: | Zeile 20: | ||
| ** 3. What are the major advantages of using directives? ** | ** 3. What are the major advantages of using directives? ** | ||
| - | * Programming responsive websites is possible without JavaScript knowlege by outsourcing the JS-functionalities to HTML. That means that HTML is augmented by VUE in order to do it without JS. | + | |
| + | Programming responsive websites is possible without JavaScript knowlege by outsourcing the JS-functionalities to HTML. That means that HTML is augmented by VUE in order to do it without JS. | ||
| ===== Vocabulary ===== | ===== Vocabulary ===== | ||