Skip to content

Commit fed908e

Browse files
authored
Merge pull request sudheerj#12 from bekliev/patch-2
sudheerj#20 Corrected language to highlight syntax properly
2 parents 734c891 + b36d966 commit fed908e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -800,11 +800,10 @@ List of 300 VueJS Interview Questions
800800
9. .right
801801

802802
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">
803+
```vue
804+
<input v-on:keyup.enter="submit" />
805+
<!-- OR with shorthand notation -->
806+
<input @keyup.enter="submit" />
808807
```
809808

810809
**Note:** The use of keyCode events is deprecated and may not be supported in new browsers.

0 commit comments

Comments
 (0)