Courses
LoginStart now
Courses
LoginStart now
- 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
Fast coding (mobile)
2 Votes
Hofstadter a sequence code coach is not running
0 Votes
DSA doubt
1 Votes
Coding help
2 Votes
Bridge pattern use case
0 Votes
Input errors (python)
1 Votes
the code for bigneer is not really what to do after coding begeneer in sololearn
0 Votes
Data structure using C
0 Votes
Vote Code
1 Votes
Without degree job
0 Votes