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:theorie:01 [2025/01/22 13:47] – [Key Features] vdemir | en:modul:m291:learningunits:lu05:theorie:01 [2025/01/22 13:58] (aktuell) – [Source] vdemir | ||
---|---|---|---|
Zeile 4: | Zeile 4: | ||
- I can explain what //Vue Directives// | - I can explain what //Vue Directives// | ||
- I can explain what //Vue Directives// | - I can explain what //Vue Directives// | ||
- | - I can name and explain at least five examples | + | - I can name and explain at least four types of directives. |
- I can use VUE directives as an example. | - I can use VUE directives as an example. | ||
Zeile 16: | Zeile 16: | ||
** 3. Simplicity: **Integrate seamlessly into templates for common tasks like event handling or conditional rendering. | ** 3. Simplicity: **Integrate seamlessly into templates for common tasks like event handling or conditional rendering. | ||
+ | |||
+ | ===== Examples ===== | ||
+ | - **v-if**: Conditionally renders an element or removes it from the DOM based on the truthiness of an expression. | ||
+ | - **v-for**: Iterates over a list or object, generating a new element for each item in the collection. | ||
+ | - **v-bind**: Dynamically binds an attribute (e.g., `src`, `class`, `style`) to an expression, allowing for reactive updates. | ||
+ | - **v-model**: | ||
+ | |||
===== Source ===== | ===== Source ===== | ||
* [[https:// | * [[https:// | ||
+ | **Tutorial with the concrete use of VUE directives** | ||
+ | |||
+ | {{ : | ||
===== Vocabulary ===== | ===== Vocabulary ===== | ||
^ English ^ German ^ | ^ English ^ German ^ |