Dies ist eine alte Version des Dokuments!


LU06.S03 - Events - mouseclick and mouseover

  1. Take the solution from the previous assignment and name it correctly including the <h1>: lu06.s03.html
  2. Add another button +2 Moose which counts up by step-size 2, but use this time the event @click.right=….
  3. Add another button -2 Moose which counts down by step-size 2, and use this thime the event @click.left=….
  4. Add finally a mouseover event to the image by using the event v-on:mouseover: it resets the counter when the mouse moves over the image

Solution executed in the W3School-Sandbox

Solution in Webstorm editor

English German
step-size Schrittweite

Volkan Demir

  • en/modul/m291/learningunits/lu06/loesungen/03.1745582101.txt.gz
  • Zuletzt geändert: 2025/04/25 13:55
  • von vdemir