Vue.js supports the following modifiers to trigger mouse or keyboard event listeners when we press the corresponding keys. The list of supported System Modifier Keys is:
- .ctrl
- .alt
- .shift
- .meta
See the following example of a control modifier with the click event.
Example:
- <!– Ctrl + Click –>
- <div @click.ctrl=”doAction”>Do some action here</div>