Question · Vue.js course · Module 5: Events & Forms

Ctrl+Enter combination

How do you handle Ctrl+Enter?

Answer options

  • @keyup.ctrl+enter="submit"
  • @keyup.control-enter="submit"
  • @ctrl.enter="submit"
  • @keyup.ctrl.enter="submit"

You can check the correct answer by solving this task in the CodeWorlds game.