s2e21 js in code

This commit is contained in:
Tyrel Souza 2018-04-13 14:13:44 -04:00
parent 36264891e2
commit 36812b72c4
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -8,6 +8,7 @@
<body> <body>
<div id='app'> <div id='app'>
<button @click="increase(2, $event)">Click Me</button> <button @click="increase(2, $event)">Click Me</button>
<button @click="counter++">Click Me</button>
<p>{{ counter }}</p> <p>{{ counter }}</p>
<p v-on:mousemove="updateCoordinates">Coordinates {{x}}, {{y}} <p v-on:mousemove="updateCoordinates">Coordinates {{x}}, {{y}}
<span v-on:mousemove.stop.prevent=""> DEAD SPOT</span> <span v-on:mousemove.stop.prevent=""> DEAD SPOT</span>