When listening for keyboard events, we often need to check which key that pressed by user on the keyboard to determine which code to be executed.
Vue.js allows us to add a modifier to the v-on directive specifically for the keyboard event. Because this modifier is specifically for keyboard event, it is better known as key modifier.
Watch video Vue.js Fundamental - Event Handling - Part 4 of 4 (12) online without registration, duration hours minute second in high quality. This video was added by user TutsPrime 04 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12 once and liked it 0 people.