Mouse and Keyboard Events
Learn about mouse clicks and keyboard events in Vue.js.
In this lesson, learn how to make the Vue.js application interactive by handling mouse and keyboard events. Mouse and keyboard events can be bound to the methods
and data
so the application does an operation when an element is clicked or a key is pressed. All the mouse and keyboard event handlers are bound to the methods
and data
using the v-on
directive.
Get hands-on with 1400+ tech skills courses.