Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

listen for enter and alt key vue

<!-- Alt + C -->
<input v-on:keyup.alt.67="clear">

<!-- Ctrl + Click -->
<div v-on:click.ctrl="doSomething">Do something</div>
Source by vuejs.org #
 
PREVIOUS NEXT
Tagged: #listen #enter #alt #key #vue
ADD COMMENT
Topic
Name
1+2 =