• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
Menu
- 1

How to run a especific function when a especific key on keyboard is pressed in JS

I want to run a function to keyboard events

jshelpbugkeyboardevents
13th Apr 2020, 4:40 PM
Abhay
Abhay - avatar
2 Respostas
0
https://medium.com/@uistephen/keyboardevent-key-for-cross-browser-key-press-check-61dbad0a067a https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
13th Apr 2020, 7:08 PM
visph
visph - avatar

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
Mobile number and similarity
1 Votes
Can I import any module in python in this app?
0 Votes
GitHub account connecting issue
3 Votes
Loops and conditions
1 Votes
photo upload issue in html code
0 Votes
Algorithm to create maze-like grid
2 Votes
Coding issue
2 Votes
Alguém Português por aqui?
0 Votes
Hardware of computer
3 Votes
Any coding competitions?
1 Votes