GlobalEventHandlers
La combinación («mixin» en inglés) GlobalEventHandlers
describe los controladores de eventos comunes a varias interfaces como HTMLElement
, Document
o Window
. Cada una de estas interfaces puede, por supuesto, agregar más controladores de eventos además de los que se enumeran a continuación.
Nota: GlobalEventHandlers
es una combinación («mixin») y no una interfaz; en realidad, no puedes crear un objeto de tipo GlobalEventHandlers
.
Propiedades
Esta interfaz no incluye ninguna propiedad excepto los controladores de eventos que se enumeran a continuación.
Controladores de eventos
Estos controladores de eventos se definen en el mixin GlobalEventHandlers
y se implementan mediante HTMLElement
, Document
, Window
, así como por WorkerGlobalScope
(en-US) para «Web Workers».
GlobalEventHandlers.onabort
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoabort
(en-US). GlobalEventHandlers.onanimationcancel
(en-US) Non-standard-
Se llama a
event handler
cuando se envía un eventoanimationcancel
, lo cual indica que una animación CSS se ha cancelado. GlobalEventHandlers.onanimationend
(en-US) Non-standard-
Se llama a
event handler
cuando se envía un eventoanimationend
, lo cual indica que la animación CSS se ha detenido. GlobalEventHandlers.onanimationiteration
(en-US) Non-standard-
Un
event handler
llamado cuando se ha enviado un eventoanimationiteration
(en-US), indica que una animación CSS ha comenzado a reproducir una nueva iteración de la secuencia de animación. GlobalEventHandlers.onanimationstart
(en-US) Non-standard-
Se llama a
event handler
cuando se envía un eventoanimationstart
(en-US), lo cual indica que una animación CSS se ha comenzado a reproducir. GlobalEventHandlers.onauxclick
(en-US) Non-standard-
Se llama a
event handler
cuando se envía un eventoauxclick
, el cual indica que se ha presionado un botón no principal en un dispositivo de entrada (por ejemplo, un botón central del ratón). GlobalEventHandlers.onblur
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoblur
. GlobalEventHandlers.onerror
-
Es un
OnErrorEventHandler
que representa el código que se llamará cuando se genere el eventoerror
(en-US). GlobalEventHandlers.onfocus
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventofocus
(en-US). GlobalEventHandlers.oncancel
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventocancel
. GlobalEventHandlers.oncanplay
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventocanplay
. GlobalEventHandlers.oncanplaythrough
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventocanplaythrough
(en-US). GlobalEventHandlers.onchange
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventochange
(en-US). GlobalEventHandlers.onclick
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoclick
. GlobalEventHandlers.onclose
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoclose
. -
Es un
event handler
que representa el código que se llamará cuando se genere el eventocontextmenu
(en-US). GlobalEventHandlers.oncuechange
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventocuechange
(en-US). GlobalEventHandlers.ondblclick
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodblclick
(en-US). GlobalEventHandlers.ondrag
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodrag
(en-US). GlobalEventHandlers.ondragend
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodragend
(en-US). GlobalEventHandlers.ondragenter
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodragenter
(en-US). GlobalEventHandlers.ondragexit
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodragexit
. GlobalEventHandlers.ondragleave
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodragleave
(en-US). GlobalEventHandlers.ondragover
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodragover
. GlobalEventHandlers.ondragstart
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodragstart
(en-US). GlobalEventHandlers.ondrop
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodrop
(en-US). GlobalEventHandlers.ondurationchange
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventodurationchange
(en-US). GlobalEventHandlers.onemptied
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoemptied
(en-US). GlobalEventHandlers.onended
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoended
(en-US). GlobalEventHandlers.onformdata
(en-US)-
Es un
event handler
para procesar eventosformdata
, que se activa después de que se construye la lista de entrada que representa los datos del formulario. GlobalEventHandlers.ongotpointercapture
-
Es un
event handler
que representa el código que se llamará cuando se genere el tipo de eventogotpointercapture
. GlobalEventHandlers.oninput
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoinput
(en-US). GlobalEventHandlers.oninvalid
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoinvalid
(en-US). GlobalEventHandlers.onkeydown
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventokeydown
. GlobalEventHandlers.onkeypress
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventokeypress
(en-US). GlobalEventHandlers.onkeyup
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventokeyup
(en-US). GlobalEventHandlers.onload
-
Is an
event handler
representing the code to be called when theload
event is raised. GlobalEventHandlers.onloadeddata
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoloadeddata
(en-US). GlobalEventHandlers.onloadedmetadata
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoloadedmetadata
(en-US). GlobalEventHandlers.onloadend
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoloadend
(cuando el progreso se haya detenido en la carga de un recurso). GlobalEventHandlers.onloadstart
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoloadstart
(en-US) (cuando el progreso ha comenzado a cargar un recurso). GlobalEventHandlers.onlostpointercapture
-
Es un
event handler
que representa el código que se llamará cuando se genere el tipo de eventolostpointercapture
. GlobalEventHandlers.onmousedown
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomousedown
. GlobalEventHandlers.onmouseenter
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomouseenter
(en-US). GlobalEventHandlers.onmouseleave
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomouseleave
(en-US). GlobalEventHandlers.onmousemove
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomousemove
(en-US). GlobalEventHandlers.onmouseout
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomouseout
(en-US). GlobalEventHandlers.onmouseover
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomouseover
(en-US). GlobalEventHandlers.onmouseup
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomouseup
(en-US). GlobalEventHandlers.onmousewheel
(en-US) Non-standard Obsoleto-
Es un
event handler
que representa el código que se llamará cuando se genere el eventomousewheel
(en-US). Desaprobado. Utilizaonwheel
en su lugar. GlobalEventHandlers.onwheel
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventowheel
. GlobalEventHandlers.onpause
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopause
(en-US). GlobalEventHandlers.onplay
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoplay
(en-US). GlobalEventHandlers.onplaying
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoplaying
(en-US). GlobalEventHandlers.onpointerdown
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerdown
. GlobalEventHandlers.onpointermove
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointermove
. GlobalEventHandlers.onpointerup
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerup
. GlobalEventHandlers.onpointercancel
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointercancel
. GlobalEventHandlers.onpointerover
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerover
. GlobalEventHandlers.onpointerout
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerout
. GlobalEventHandlers.onpointerenter
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerenter
. GlobalEventHandlers.onpointerleave
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerleave
. GlobalEventHandlers.onpointerlockchange
Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerlockchange
. GlobalEventHandlers.onpointerlockerror
Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventopointerlockerror
(en-US). GlobalEventHandlers.onprogress
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoprogress
(en-US). GlobalEventHandlers.onratechange
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoratechange
(en-US). GlobalEventHandlers.onreset
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoreset
(en-US). GlobalEventHandlers.onresize
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoresize
(en-US). GlobalEventHandlers.onscroll
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoscroll
. GlobalEventHandlers.onseeked
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoseeked
(en-US). GlobalEventHandlers.onseeking
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoseek
. GlobalEventHandlers.onselect
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoselect
(en-US). GlobalEventHandlers.onselectstart
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoselectionchange
, es decir, cuando el usuario comience a realizar una nueva selección de texto en una página web. GlobalEventHandlers.onselectionchange
(en-US)-
Es un
event handler
que representa el código que se llamará cuando se genera el eventoselectionchange
, es decir, cuando cambia el texto seleccionado en una página web. GlobalEventHandlers.onshow
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventoshow
. GlobalEventHandlers.onsort
Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventosort
. GlobalEventHandlers.onstalled
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventostalled
(en-US). GlobalEventHandlers.onsubmit
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventosubmit
(en-US). GlobalEventHandlers.onsuspend
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventosuspend
(en-US). GlobalEventHandlers.ontimeupdate
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventotimeupdate
. GlobalEventHandlers.onvolumechange
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventovolumechange
(en-US). GlobalEventHandlers.ontouchcancel
(en-US) Non-standard Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventotouchcancel
(en-US). GlobalEventHandlers.ontouchend
(en-US) Non-standard Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventotouchend
(en-US). GlobalEventHandlers.ontouchmove
(en-US) Non-standard Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventotouchmove
(en-US). GlobalEventHandlers.ontouchstart
Non-standard Experimental-
Es un
event handler
que representa el código que se llamará cuando se genere el eventotouchstart
(en-US). GlobalEventHandlers.ontransitioncancel
(en-US)-
Se llama a
event handler
cuando se envía un eventotransitioncancel
, lo cual indica que se canceló la transición CSS. GlobalEventHandlers.ontransitionend
(en-US)-
Se llama a
event handler
cuando se envía un eventotransitionend
, lo cual indica que la transición CSS se ha terminado de reproducir. GlobalEventHandlers.ontransitionrun
-
Se llama a
event handler
cuando se envía un eventotransitionrun
, lo cual indica que la transición CSS se está ejecutando, aunque no necesariamente se inició. GlobalEventHandlers.ontransitionstart
-
Se llama a
event handler
cuando se envía un eventotransitionstart
, lo cual indica que la transición CSS ha comenzado a realizar la transición. GlobalEventHandlers.onwaiting
-
Es un
event handler
que representa el código que se llamará cuando se genere el eventowaiting
(en-US).
Métodos
Esta interfaz no define métodos