v click code example
Example 1: event vueks
new Vue({
el: '#example-3',
methods: {
say: function (message) {
alert(message)
}
}
})
Example 2: vuejs v-on
<div v-on:javascriptEvent = "method"></div>
<!-- v-on:click <=> @click -->