Answers for "how to add enter key function in button click in vuejs"

6

enter key vue

<!-- only call `vm.submit()` when the `key` is `Enter` -->
<input v-on:keyup.enter="submit()">
<input @keyup.enter="submit()">
vue
Posted by: Guest on January-03-2021

Code answers related to "how to add enter key function in button click in vuejs"

Browse Popular Code Answers by Language