GlobalEventHandlers.onkeydown
La propiedad onkeydown
devuelve un manejador para el evento onKeyDown
del elemento actual.
Sintaxis
element.onkeydown = event handling code
Notas
El evento keydown
se lanza cuando el usuario presiona una tecla.
Especificaciones
Specification | Status | Comment |
---|---|---|
HTML Living Standard La definición de 'onkeydown' en esta especificación. |
Living Standard |
Compatibilidad con navegadores
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help! (en-US)
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | ? | ? | ? | ? |
Feature | Android | Android Webview | Edge | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|---|
Basic support | ? | (Yes) | (Yes) | ? | ? | ? | ? | ? | (Yes) |