Answers for "event vueks"

0

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>
Posted by: Guest on November-04-2020
0

event vueks

new Vue({
  el: '#example-3',
  methods: {
    say: function (message) {
      alert(message)
    }
  }
})
Posted by: Guest on November-04-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language