in Vue.JS by
What are the supported System Modifier Keys in VueJS?

1 Answer

0 votes
by
Vue supports below modifiers to trigger mouse or keyboard event listeners when the corresponding key is pressed,

.ctrl

.alt

.shift

.meta

Lets take an example of control modifier with click event,

<!-- Ctrl + Click -->

<div @click.ctrl="doSomething">Do something</div>

Related questions

0 votes
asked Feb 4, 2020 in Vue.JS by rajeshsharma
0 votes
asked Jan 9, 2020 in Vue.JS by GeorgeBell
0 votes
asked Oct 21, 2019 in Vue.JS by Tate
...