Kulcskód információ
JavaScript billentyűzet esemény hibakereső
Nyomja meg bármelyik gombot
JavaScript-esemény kulcskódja, kódja és egyebek megjelenítése.
Use these tools directly in Chrome
Install the DailyDevTools extension — access all tools from your browser toolbar
What is Keycode Info?
JavaScript keyboard event handling requires knowing the exact key codes, key values, and event properties for each keystroke. DailyDevTools' Keycode Info tool shows you every property of a keyboard event in real-time as you press any key — including event.key, event.code, event.keyCode, event.which, event.charCode, and modifier key states — making it the fastest way to debug keyboard interactions.
How to use Keycode Info
- 1Click inside the key detection area to focus it
- 2Press any key — the tool immediately shows all properties of the keyboard event
- 3View event.key (the logical key value), event.code (the physical key location), and event.keyCode (the legacy numeric code)
- 4See which modifier keys were held: Ctrl, Shift, Alt, Meta (⌘ on Mac)
Frequently asked questions
Comments
Neked is tetszhet
Fedezzen fel más népszerű fejlesztői eszközöket