correct the counter values
This commit is contained in:
parent
bca711b5d5
commit
bee75dd9fa
|
@ -17,8 +17,8 @@
|
|||
</header>
|
||||
<section id="events">
|
||||
<h2>Events in Action</h2>
|
||||
<button v-on:click="increaseCounter(5)">Add</button>
|
||||
<button v-on:click="decreaseCounter(5)">Reduce</button>
|
||||
<button v-on:click="increaseCounter(10)">Add 10</button>
|
||||
<button v-on:click="decreaseCounter(5)">Reduce 5</button>
|
||||
<p>Result: {{ counter }}</p>
|
||||
</section>
|
||||
</body>
|
||||
|
|
Reference in New Issue