vuejs add listener on document code example
Example 1: event vueks
Example 2: event vueks
new Vue({
el: '#example-3',
methods: {
say: function (message) {
alert(message)
}
}
})
new Vue({
el: '#example-3',
methods: {
say: function (message) {
alert(message)
}
}
})