event handling vue code example
Example 1: vue js button click
<div id="example-2">
<!-- `greet` is the name of a method defined below -->
<button v-on:click="greet">Greet</button>
</div>
Example 2: vue methods v-on =!
<div class="nav-right-items menuBtn" @click="test">
methods: {
test: function() {
this.mobileClick = !this.mobileClick
}
},