Interface GlobalEventHandlers
interface GlobalEventHandlers { onabort: null | ((this: GlobalEventHandlers,
ev: UIEvent) => any); onanimationcancel: null | ((this: GlobalEventHandlers,
ev: AnimationEvent) => any); onanimationend: null | ((this: GlobalEventHandlers,
ev: AnimationEvent) => any); onanimationiteration: null | ((this: GlobalEventHandlers,
ev: AnimationEvent) => any); onanimationstart: null | ((this: GlobalEventHandlers,
ev: AnimationEvent) => any); onauxclick: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onbeforeinput: null | ((this: GlobalEventHandlers,
ev: InputEvent) => any); onbeforetoggle: null | ((this: GlobalEventHandlers,
ev: Event) => any); onblur: null | ((this: GlobalEventHandlers,
ev: FocusEvent) => any); oncancel: null | ((this: GlobalEventHandlers,
ev: Event) => any); oncanplay: null | ((this: GlobalEventHandlers,
ev: Event) => any); oncanplaythrough: null | ((this: GlobalEventHandlers,
ev: Event) => any); onchange: null | ((this: GlobalEventHandlers,
ev: Event) => any); onclick: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onclose: null | ((this: GlobalEventHandlers,
ev: Event) => any); oncontextmenu: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); oncopy: null | ((this: GlobalEventHandlers,
ev: ClipboardEvent) => any); oncuechange: null | ((this: GlobalEventHandlers,
ev: Event) => any); oncut: null | ((this: GlobalEventHandlers,
ev: ClipboardEvent) => any); ondblclick: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); ondrag: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondragend: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondragenter: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondragleave: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondragover: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondragstart: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondrop: null | ((this: GlobalEventHandlers,
ev: DragEvent) => any); ondurationchange: null | ((this: GlobalEventHandlers,
ev: Event) => any); onemptied: null | ((this: GlobalEventHandlers,
ev: Event) => any); onended: null | ((this: GlobalEventHandlers,
ev: Event) => any); onerror: OnErrorEventHandler; onfocus: null | ((this: GlobalEventHandlers,
ev: FocusEvent) => any); onformdata: null | ((this: GlobalEventHandlers,
ev: FormDataEvent) => any); ongotpointercapture: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); oninput: null | ((this: GlobalEventHandlers,
ev: Event) => any); oninvalid: null | ((this: GlobalEventHandlers,
ev: Event) => any); onkeydown: null | ((this: GlobalEventHandlers,
ev: KeyboardEvent) => any); onkeypress: null | ((this: GlobalEventHandlers,
ev: KeyboardEvent) => any); onkeyup: null | ((this: GlobalEventHandlers,
ev: KeyboardEvent) => any); onload: null | ((this: GlobalEventHandlers,
ev: Event) => any); onloadeddata: null | ((this: GlobalEventHandlers,
ev: Event) => any); onloadedmetadata: null | ((this: GlobalEventHandlers,
ev: Event) => any); onloadstart: null | ((this: GlobalEventHandlers,
ev: Event) => any); onlostpointercapture: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onmousedown: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onmouseenter: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onmouseleave: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onmousemove: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onmouseout: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onmouseover: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onmouseup: null | ((this: GlobalEventHandlers,
ev: MouseEvent) => any); onpaste: null | ((this: GlobalEventHandlers,
ev: ClipboardEvent) => any); onpause: null | ((this: GlobalEventHandlers,
ev: Event) => any); onplay: null | ((this: GlobalEventHandlers,
ev: Event) => any); onplaying: null | ((this: GlobalEventHandlers,
ev: Event) => any); onpointercancel: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointerdown: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointerenter: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointerleave: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointermove: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointerout: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointerover: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onpointerup: null | ((this: GlobalEventHandlers,
ev: PointerEvent) => any); onprogress: null | ((this: GlobalEventHandlers,
ev: ProgressEvent<EventTarget>) => any); onratechange: null | ((this: GlobalEventHandlers,
ev: Event) => any); onreset: null | ((this: GlobalEventHandlers,
ev: Event) => any); onresize: null | ((this: GlobalEventHandlers,
ev: UIEvent) => any); onscroll: null | ((this: GlobalEventHandlers,
ev: Event) => any); onscrollend: null | ((this: GlobalEventHandlers,
ev: Event) => any); onsecuritypolicyviolation: null | ((this: GlobalEventHandlers,
ev: SecurityPolicyViolationEvent) => any); onseeked: null | ((this: GlobalEventHandlers,
ev: Event) => any); onseeking: null | ((this: GlobalEventHandlers,
ev: Event) => any); onselect: null | ((this: GlobalEventHandlers,
ev: Event) => any); onselectionchange: null | ((this: GlobalEventHandlers,
ev: Event) => any); onselectstart: null | ((this: GlobalEventHandlers,
ev: Event) => any); onslotchange: null | ((this: GlobalEventHandlers,
ev: Event) => any); onstalled: null | ((this: GlobalEventHandlers,
ev: Event) => any); onsubmit: null | ((this: GlobalEventHandlers,
ev: SubmitEvent) => any); onsuspend: null | ((this: GlobalEventHandlers,
ev: Event) => any); ontimeupdate: null | ((this: GlobalEventHandlers,
ev: Event) => any); ontoggle: null | ((this: GlobalEventHandlers,
ev: Event) => any); ontouchcancel?: null | ((this: GlobalEventHandlers,
ev: TouchEvent) => any); ontouchend?: null | ((this: GlobalEventHandlers,
ev: TouchEvent) => any); ontouchmove?: null | ((this: GlobalEventHandlers,
ev: TouchEvent) => any); ontouchstart?: null | ((this: GlobalEventHandlers,
ev: TouchEvent) => any); ontransitioncancel: null | ((this: GlobalEventHandlers,
ev: TransitionEvent) => any); ontransitionend: null | ((this: GlobalEventHandlers,
ev: TransitionEvent) => any); ontransitionrun: null | ((this: GlobalEventHandlers,
ev: TransitionEvent) => any); ontransitionstart: null | ((this: GlobalEventHandlers,
ev: TransitionEvent) => any); onvolumechange: null | ((this: GlobalEventHandlers,
ev: Event) => any); onwaiting: null | ((this: GlobalEventHandlers,
ev: Event) => any); onwebkitanimationend: null | ((this: GlobalEventHandlers,
ev: Event) => any); onwebkitanimationiteration: null | ((this: GlobalEventHandlers,
ev: Event) => any); onwebkitanimationstart: null | ((this: GlobalEventHandlers,
ev: Event) => any); onwebkittransitionend: null | ((this: GlobalEventHandlers,
ev: Event) => any); onwheel: null | ((this: GlobalEventHandlers,
ev: WheelEvent) => any); addEventListener<K>(type: K,
listener: ((this: GlobalEventHandlers,
ev: GlobalEventHandlersEventMap[K]) => any),
options?: boolean | AddEventListenerOptions): void; addEventListener(type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions): void; removeEventListener<K>(type: K,
listener: ((this: GlobalEventHandlers,
ev: GlobalEventHandlersEventMap[K]) => any),
options?: boolean | EventListenerOptions): void; removeEventListener(type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions): void; } Properties
onabort
onanimationcancel
onanimationend
onanimationiteration
onanimationstart
onauxclick
onbeforeinput
onbeforetoggle
onblur
oncancel
oncanplay
oncanplaythrough
onchange
onclick
onclose
oncontextmenu
oncopy
oncuechange
oncut
ondblclick
ondrag
ondragend
ondragenter
ondragleave
ondragover
ondragstart
ondrop
ondurationchange
onemptied
onended
onerror
onfocus
onformdata
ongotpointercapture
oninput
oninvalid
onkeydown
onkeypress
onkeyup
onload
onloadeddata
onloadedmetadata
onloadstart
onlostpointercapture
onmousedown
onmouseenter
onmouseleave
onmousemove
onmouseout
onmouseover
onmouseup
onpaste
onpause
onplay
onplaying
onpointercancel
onpointerdown
onpointerenter
onpointerleave
onpointermove
onpointerout
onpointerover
onpointerup
onprogress
onratechange
onreset
onresize
onscroll
onscrollend
onsecuritypolicyviolation
onseeked
onseeking
onselect
onselectionchange
onselectstart
onslotchange
onstalled
onsubmit
onsuspend
ontimeupdate
ontoggle
Optional
ontouchcancel
Optional
ontouchend
Optional
ontouchmove
Optional
ontouchstart
ontransitioncancel
ontransitionend
ontransitionrun
ontransitionstart
onvolumechange
onwaiting
onwebkitanimationend
onwebkitanimationiteration
onwebkitanimationstart
onwebkittransitionend
onwheel
Methods
addEventListener
- addEventListener<K>(type, listener, options?): void
Returns void
- addEventListener(type, listener, options?): void
Returns void
removeEventListener
- removeEventListener<K>(type, listener, options?): void
Returns void
- removeEventListener(type, listener, options?): void
Returns void
Fires when the user aborts the download.