Course lesson

Respond to Events with the v-on (@) Directive in Vue

We'll see how we can respond to HTML events using the v-on directive. We'll discuss how v-on can be abbreviated to @ in our HTML and look at some of the events that are available to us.

Duration
2 min
Access
Pro
Transcript
Available

We'll see how we can respond to HTML events using the v-on directive. We'll discuss how v-on can be abbreviated to @ in our HTML and look at some of the events that are available to us.

In this lesson, we'll create a button that adds tickets to our cart.