There was an error while loading. Please reload this page.
2 parents 734c891 + b36d966 commit fed908eCopy full SHA for fed908e
README.md
@@ -800,11 +800,10 @@ List of 300 VueJS Interview Questions
800
9. .right
801
802
Now the above keyup code snippet can be written with aliases as follows,
803
- ```javascript
804
- <input v-on:keyup.enter="submit">
805
- // (OR)
806
- <!-- with shorthand notation-->
807
- <input @keyup.enter="submit">
+ ```vue
+ <input v-on:keyup.enter="submit" />
+ <!-- OR with shorthand notation -->
+ <input @keyup.enter="submit" />
808
```
809
810
**Note:** The use of keyCode events is deprecated and may not be supported in new browsers.
0 commit comments