Complete the code to listen for the Enter key press using Vue key modifiers.
<button @keyup.[1]="submitForm">Submit</button>
The enter key modifier listens for the Enter key press event.
Complete the code to listen for the Ctrl key combined with the S key using Vue key modifiers.
<div @keydown.[1].[2]="saveDocument">Save</div>
The ctrl and s modifiers detect the Ctrl + S key press.
Fix the error in the code to correctly listen for the Escape key press using Vue key modifiers.
<input @keyup.[1]="closeModal">
Vue uses esc as the correct key modifier for the Escape key.
Fill both blanks to listen for Shift + Tab key press using Vue key modifiers.
<input @keydown.[1].[2]="focusPrevious">
The shift and tab modifiers together detect Shift + Tab key press.
Fill all three blanks to listen for Alt + Shift + F key press using Vue key modifiers.
<div @keydown.[1].[2].[3]="formatCode">Format</div>
Using alt, shift, and f modifiers together listens for Alt + Shift + F key press.