diff --git a/app.js b/app.js index ee3c2b6..3849f30 100644 --- a/app.js +++ b/app.js @@ -13,8 +13,8 @@ var app = new Vue({ this.x = event.clientX; this.y = event.clientY; }, - dummy(event){ - event.stopPropagation(); + alertMe(event){ + alert(event.target.value); } } }) diff --git a/index.html b/index.html index a5c3e43..119283f 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,7 @@
Coordinates {{x}}, {{y}} DEAD SPOT
+