• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
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 odpowiedzi
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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Best way to learn a new programming language fast?
3 Votes
Where make_unique is better than unique_ptr(raw pointer)
0 Votes
Will i land a job
1 Votes
Course
1 Votes
Why we use oops in python rather than any function ?
1 Votes
someone helps how can i make two for loops over a 2d array in c ( i didn't learned pointers yet )
0 Votes
why is my leaderboard diferent than my brothers
0 Votes
Project ideas
1 Votes
What do you think would be good for some new courses?
0 Votes
Do you think AI will replace programmers?
0 Votes