From 0de151a58b0df0b481a934621d1d2bdd1dff4920 Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Fri, 13 Apr 2018 13:53:25 -0400 Subject: [PATCH] s2e19 stop and propagate --- app.js | 3 +++ index.html | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 +