gentting event @click vuejs code example
Example 1: event vueks
<div id="example-3">
<button v-on:click="say('salut')">Dire salut</button>
<button v-on:click="say('quoi')">Dire quoi</button>
</div>
Example 2: vuejs v-on
<div v-on:javascriptEvent = "method"></div>
<!-- v-on:click <=> @click -->