diff --git a/app.js b/app.js index 8c676d6..ee3c2b6 100644 --- a/app.js +++ b/app.js @@ -12,6 +12,9 @@ var app = new Vue({ updateCoordinates(event){ this.x = event.clientX; this.y = event.clientY; + }, + dummy(event){ + event.stopPropagation(); } } }) diff --git a/index.html b/index.html index 3180a0e..a5c3e43 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,9 @@
{{ counter }}
-Coordinates {{x}} {{y}}
+Coordinates {{x}}, {{y}} + DEAD SPOT +