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:09 [2025/03/06 10:50] – vdemir | en:modul:m291:learningunits:lu05:loesungen:09 [2025/03/28 08:27] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== LU05.S08 - v-if with numbers instead of bool ====== | + | ====== LU05.S09 - v-else-if and v-else |
===== Sourcecode of the solution ===== | ===== Sourcecode of the solution ===== | ||
- | {{ : | + | {{: |
===== Assignment ====== | ===== Assignment ====== | ||
- | The first assignment checked by using v-if whether a certain variable was checked or not (true/ | + | |
- | + | - Introduce | |
- | | + | |
- | - Note your realisations as a html-comment. | + | |
- | - Change the content of the variable | + | |
- | - What happens, if the value // | + | |
- Note your realisations as a html-comment. | - Note your realisations as a html-comment. | ||
- Save your script acoordingly, | - Save your script acoordingly, | ||
- | {{: | + | {{: |