GlobalEventHandlers
Extended by
Methods
addEventListener()
Call Signature
addEventListener<K>(
type,
listener,
options?
): void;
Type Parameters
| Type Parameter |
|---|
K extends keyof GlobalEventHandlersEventMap |
Parameters
| Parameter | Type |
|---|---|
type | K |
listener | (this, ev) => any |
options? | boolean | AddEventListenerOptions |
Returns
void
Call Signature
addEventListener(
type,
listener,
options?
): void;
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | AddEventListenerOptions |
Returns
void
removeEventListener()
Call Signature
removeEventListener<K>(
type,
listener,
options?
): void;
Type Parameters
| Type Parameter |
|---|
K extends keyof GlobalEventHandlersEventMap |
Parameters
| Parameter | Type |
|---|---|
type | K |
listener | (this, ev) => any |
options? | boolean | EventListenerOptions |
Returns
void
Call Signature
removeEventListener(
type,
listener,
options?
): void;
Parameters
| Parameter | Type |
|---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | EventListenerOptions |
Returns
void
Properties
onabort
onabort: ((this, ev) => any) | null;
onanimationcancel
onanimationcancel: ((this, ev) => any) | null;
onanimationend
onanimationend: ((this, ev) => any) | null;
onanimationiteration
onanimationiteration: ((this, ev) => any) | null;
onanimationstart
onanimationstart: ((this, ev) => any) | null;
onauxclick
onauxclick: ((this, ev) => any) | null;
onbeforeinput
onbeforeinput: ((this, ev) => any) | null;
onbeforematch
onbeforematch: ((this, ev) => any) | null;
onbeforetoggle
onbeforetoggle: ((this, ev) => any) | null;
onblur
onblur: ((this, ev) => any) | null;
oncancel
oncancel: ((this, ev) => any) | null;
oncanplay
oncanplay: ((this, ev) => any) | null;
oncanplaythrough
oncanplaythrough: ((this, ev) => any) | null;
onchange
onchange: ((this, ev) => any) | null;
onclick
onclick: ((this, ev) => any) | null;
onclose
onclose: ((this, ev) => any) | null;
oncommand
oncommand: ((this, ev) => any) | null;
oncontextlost
oncontextlost: ((this, ev) => any) | null;
oncontextmenu
oncontextmenu: ((this, ev) => any) | null;
oncontextrestored
oncontextrestored: ((this, ev) => any) | null;
oncopy
oncopy: ((this, ev) => any) | null;
oncuechange
oncuechange: ((this, ev) => any) | null;
oncut
oncut: ((this, ev) => any) | null;
ondblclick
ondblclick: ((this, ev) => any) | null;
ondrag
ondrag: ((this, ev) => any) | null;
ondragend
ondragend: ((this, ev) => any) | null;
ondragenter
ondragenter: ((this, ev) => any) | null;
ondragleave
ondragleave: ((this, ev) => any) | null;
ondragover
ondragover: ((this, ev) => any) | null;
ondragstart
ondragstart: ((this, ev) => any) | null;
ondrop
ondrop: ((this, ev) => any) | null;
ondurationchange
ondurationchange: ((this, ev) => any) | null;
onemptied
onemptied: ((this, ev) => any) | null;
onended
onended: ((this, ev) => any) | null;
onerror
onerror: OnErrorEventHandler;
onfocus
onfocus: ((this, ev) => any) | null;
onformdata
onformdata: ((this, ev) => any) | null;
ongotpointercapture
ongotpointercapture: ((this, ev) => any) | null;
oninput
oninput: ((this, ev) => any) | null;
oninvalid
oninvalid: ((this, ev) => any) | null;
onkeydown
onkeydown: ((this, ev) => any) | null;
onkeypress
onkeypress: ((this, ev) => any) | null;
Deprecated
onkeyup
onkeyup: ((this, ev) => any) | null;
onload
onload: ((this, ev) => any) | null;
onloadeddata
onloadeddata: ((this, ev) => any) | null;
onloadedmetadata
onloadedmetadata: ((this, ev) => any) | null;
onloadstart
onloadstart: ((this, ev) => any) | null;
onlostpointercapture
onlostpointercapture: ((this, ev) => any) | null;
onmousedown
onmousedown: ((this, ev) => any) | null;
onmouseenter
onmouseenter: ((this, ev) => any) | null;
onmouseleave
onmouseleave: ((this, ev) => any) | null;
onmousemove
onmousemove: ((this, ev) => any) | null;
onmouseout
onmouseout: ((this, ev) => any) | null;
onmouseover
onmouseover: ((this, ev) => any) | null;
onmouseup
onmouseup: ((this, ev) => any) | null;
onpaste
onpaste: ((this, ev) => any) | null;
onpause
onpause: ((this, ev) => any) | null;
onplay
onplay: ((this, ev) => any) | null;
onplaying
onplaying: ((this, ev) => any) | null;
onpointercancel
onpointercancel: ((this, ev) => any) | null;
onpointerdown
onpointerdown: ((this, ev) => any) | null;
onpointerenter
onpointerenter: ((this, ev) => any) | null;
onpointerleave
onpointerleave: ((this, ev) => any) | null;
onpointermove
onpointermove: ((this, ev) => any) | null;
onpointerout
onpointerout: ((this, ev) => any) | null;
onpointerover
onpointerover: ((this, ev) => any) | null;
onpointerrawupdate
onpointerrawupdate: ((this, ev) => any) | null;
Available only in secure contexts.
onpointerup
onpointerup: ((this, ev) => any) | null;
onprogress
onprogress: ((this, ev) => any) | null;
onratechange
onratechange: ((this, ev) => any) | null;
onreset
onreset: ((this, ev) => any) | null;
onresize
onresize: ((this, ev) => any) | null;
onscroll
onscroll: ((this, ev) => any) | null;
onscrollend
onscrollend: ((this, ev) => any) | null;
onsecuritypolicyviolation
onsecuritypolicyviolation: ((this, ev) => any) | null;
onseeked
onseeked: ((this, ev) => any) | null;
onseeking
onseeking: ((this, ev) => any) | null;
onselect
onselect: ((this, ev) => any) | null;
onselectionchange
onselectionchange: ((this, ev) => any) | null;
onselectstart
onselectstart: ((this, ev) => any) | null;
onslotchange
onslotchange: ((this, ev) => any) | null;
onstalled
onstalled: ((this, ev) => any) | null;
onsubmit
onsubmit: ((this, ev) => any) | null;
onsuspend
onsuspend: ((this, ev) => any) | null;
ontimeupdate
ontimeupdate: ((this, ev) => any) | null;
ontoggle
ontoggle: ((this, ev) => any) | null;
ontouchcancel?
optional ontouchcancel?: ((this, ev) => any) | null;
ontouchend?
optional ontouchend?: ((this, ev) => any) | null;
ontouchmove?
optional ontouchmove?: ((this, ev) => any) | null;
ontouchstart?
optional ontouchstart?: ((this, ev) => any) | null;
ontransitioncancel
ontransitioncancel: ((this, ev) => any) | null;
ontransitionend
ontransitionend: ((this, ev) => any) | null;
ontransitionrun
ontransitionrun: ((this, ev) => any) | null;
ontransitionstart
ontransitionstart: ((this, ev) => any) | null;
onvolumechange
onvolumechange: ((this, ev) => any) | null;
onwaiting
onwaiting: ((this, ev) => any) | null;
onwebkitanimationend
onwebkitanimationend: ((this, ev) => any) | null;
Deprecated
This is a legacy alias of onanimationend.
onwebkitanimationiteration
onwebkitanimationiteration: ((this, ev) => any) | null;
Deprecated
This is a legacy alias of onanimationiteration.
onwebkitanimationstart
onwebkitanimationstart: ((this, ev) => any) | null;
Deprecated
This is a legacy alias of onanimationstart.
onwebkittransitionend
onwebkittransitionend: ((this, ev) => any) | null;
Deprecated
This is a legacy alias of ontransitionend.
onwheel
onwheel: ((this, ev) => any) | null;