April 2017
Intermediate to advanced
454 pages
12h 51m
English
The following bit of code shows how to react to a click event:
<div id="app"> <button v-on:click="toast">Toast bread</button> </div>
new Vue({el:'#app', methods:{toast(){alert('Tosted!')}}})
Read now
Unlock full access