The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Handle DOM Events in Vue.js with v-on

Handle DOM Events in Vue.js with v-on

1:06
`v-on` can be used to handle interaction with elements in your template. Modifiers like `stop` and `prevent` can be used in place to `preventDefault()` and `stopPropagation`. Vue.js can also capture key bindings such as `v-on:keyup.enter` and `v-on:keyup.13`.
Watch this lesson now
Avatar
egghead.io

v-on can be used to handle interaction with elements in your template. Modifiers like stop and prevent can be used in place to preventDefault() and stopPropagation. Vue.js can also capture key bindings such as v-on:keyup.enter and v-on:keyup.13.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?