Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Delete previous example
Browse files Browse the repository at this point in the history
  • Loading branch information
sicktastic committed Sep 15, 2017
1 parent d7b4d3b commit 7fe3265
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions vuejs/listening_to_keyboard_event.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<div id="app">
<div class="card">
<div class="card-block">
<button class="btn btn-success" v-on:click="increaseCounter">Increase</button>
<br /><br />
<p>Counter: {{ counter }}</p>
<br /><br />
<input type="text" v-on:keyup.enter.space="alertMe" />
</div>
</div>
Expand All @@ -31,9 +27,6 @@
counter: 0
},
methods: {
increaseCounter: function(step) {
this.counter += step;
},
alertMe: function() {
alert("Hello, there");
}
Expand Down

0 comments on commit 7fe3265

Please sign in to comment.