March 2018
Beginner to intermediate
344 pages
7h 7m
English
We're not limited to simply using the enter modifier, we also have access to a variety of shorthand modifiers, for example the use of the @ symbol and shortening v-on:event.name v-on: by replacing it with the @ symbol. Other shortening methods include:
Other modifiers can be seen in the following table:
| Name | Description | Code Example |
| .enter | Whenever the Enter key is tapped. | <input v-on:keyup.enter="myFunction" /> |
| .tab | Whenever the Tab key is tapped. | <input v-on:keyup.tab="myFunction" /> |
| .delete | Whenever the Delete or Backspace key is tapped. | <input v-on:keyup.delete="myFunction" /> |
| .esc | Whenever the |
Read now
Unlock full access