Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

enter key vue

<!-- only call `vm.submit()` when the `key` is `Enter` -->
<input v-on:keyup.enter="submit()">
<input @keyup.enter="submit()">
vue
 
PREVIOUS NEXT
Tagged: #enter #key #vue
ADD COMMENT
Topic
Name
4+8 =