Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:modul:m291:learningunits:lu06:theorie:02 [2025/04/28 08:56] – angelegt vdemir | en:modul:m291:learningunits:lu06:theorie:02 [2025/04/28 09:11] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 6: | Zeile 6: | ||
| - Be able to use simple Vue events. | - Be able to use simple Vue events. | ||
| + | ===== Source ===== | ||
| + | * [[https:// | ||
| + | * | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | After discussing the principle of events in VUE in the last chapter, this chapter goes a little further. In other words, more exciting exercises. | + | After discussing the principle of events in VUE in the last chapter, this chapter goes a little further. In other words, more exciting exercises, e.g. |
| + | * Mouseover, | ||
| + | * Mousemove, | ||
| + | * ... | ||
| + | |||
| + | |||
| + | ===== Example 1 ===== | ||
| + | <div id=" | ||
| + | <button v-on: | ||
| + | </ | ||
| + | < | ||
| + | new Vue({ | ||
| + | el: '# | ||
| + | data: { | ||
| + | count: 0 | ||
| + | } | ||
| + | }) | ||
| + | </ | ||
| - | ===== ... ===== | ||
| - | ===== Source ===== | + | ===== Example 2 ==== |
| - | | + | |
| + | <p v-on:mouseover=" | ||
| + | </div> | ||
| + | < | ||
| + | new Vue({ | ||
| + | el: '# | ||
| + | data: { | ||
| + | message: 'Hover over me!' | ||
| + | } | ||
| + | }) | ||
| + | </script> | ||
| ===== Vocabulary ===== | ===== Vocabulary ===== | ||
| ^ English ^ German ^ | ^ English ^ German ^ | ||
| - | | ... | ... | | + | | further |
| ---- | ---- | ||
| [[https:// | [[https:// | ||