### Hierarchy

- GlobalEventHandlers
  - Document
  - HTMLElement
  - SVGElement
  - Window

## Index

### Properties

- onabort
- onanimationcancel
- onanimationend
- onanimationiteration
- onanimationstart
- onauxclick
- onblur
- oncancel
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextmenu
- oncuechange
- ondblclick
- ondrag
- ondragend
- ondragenter
- ondragexit
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- ongotpointercapture
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onload
- onloadeddata
- onloadedmetadata
- onloadend
- onloadstart
- onlostpointercapture
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onpause
- onplay
- onplaying
- onpointercancel
- onpointerdown
- onpointerenter
- onpointerleave
- onpointermove
- onpointerout
- onpointerover
- onpointerup
- onprogress
- onratechange
- onreset
- onresize
- onscroll
- onsecuritypolicyviolation
- onseeked
- onseeking
- onselect
- onstalled
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- ontouchcancel
- ontouchend
- ontouchmove
- ontouchstart
- ontransitioncancel
- ontransitionend
- ontransitionrun
- ontransitionstart
- onvolumechange
- onwaiting
- onwheel

### Methods

- addEventListener
- removeEventListener

## Properties

### onabort

onabort: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5387

Fires when the user aborts the download.

param

  The event.

### onanimationcancel

onanimationcancel: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5388

### onanimationend

onanimationend: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5389

### onanimationiteration

onanimationiteration: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5390

### onanimationstart

onanimationstart: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5391

### onauxclick

onauxclick: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5392

### onblur

onblur: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5397

Fires when the object loses the input focus.

param

  The focus event.

### oncancel

oncancel: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5398

### oncanplay

oncanplay: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5403

Occurs when playback is possible, but would require further buffering.

param

  The event.

### oncanplaythrough

oncanplaythrough: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5404

### onchange

onchange: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5409

Fires when the contents of the object or selection have changed.

param

  The event.

### onclick

onclick: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5414

Fires when the user clicks the left mouse button on the object

param

  The mouse event.

### onclose

onclose: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5415

### oncontextmenu

oncontextmenu: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5420

Fires when the user clicks the right mouse button in the client area, opening the context menu.

param

  The mouse event.

### oncuechange

oncuechange: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5421

### ondblclick

ondblclick: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5426

Fires when the user double-clicks the object.

param

  The mouse event.

### ondrag

ondrag: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5431

Fires on the source object continuously during a drag operation.

param

  The event.

### ondragend

ondragend: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5436

Fires on the source object when the user releases the mouse at the close of a drag operation.

param

  The event.

### ondragenter

ondragenter: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5441

Fires on the target element when the user drags the object to a valid drop target.

param

  The drag event.

### ondragexit

ondragexit: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5442

### ondragleave

ondragleave: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5447

Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation.

param

  The drag event.

### ondragover

ondragover: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5452

Fires on the target element continuously while the user drags the object over a valid drop target.

param

  The event.

### ondragstart

ondragstart: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5457

Fires on the source object when the user starts to drag a text selection or selected object.

param

  The event.

### ondrop

ondrop: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5458

### ondurationchange

ondurationchange: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5463

Occurs when the duration attribute is updated.

param

  The event.

### onemptied

onemptied: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5468

Occurs when the media element is reset to its initial state.

param

  The event.

### onended

onended: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5473

Occurs when the end of playback is reached.

param

  The event

### onerror

onerror: ErrorEventHandler

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5478

Fires when an error occurs during object loading.

param

  The event.

### onfocus

onfocus: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5483

Fires when the object receives focus.

param

  The event.

### ongotpointercapture

ongotpointercapture: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5484

### oninput

oninput: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5485

### oninvalid

oninvalid: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5486

### onkeydown

onkeydown: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5491

Fires when the user presses a key.

param

  The keyboard event

### onkeypress

onkeypress: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5496

Fires when the user presses an alphanumeric key.

param

  The event.

### onkeyup

onkeyup: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5501

Fires when the user releases a key.

param

  The keyboard event

### onload

onload: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5506

Fires immediately after the browser loads the object.

param

  The event.

### onloadeddata

onloadeddata: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5511

Occurs when media data is loaded at the current playback position.

param

  The event.

### onloadedmetadata

onloadedmetadata: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5516

Occurs when the duration and dimensions of the media have been determined.

param

  The event.

### onloadend

onloadend: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5517

### onloadstart

onloadstart: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5522

Occurs when Internet Explorer begins looking for media data.

param

  The event.

### onlostpointercapture

onlostpointercapture: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5523

### onmousedown

onmousedown: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5528

Fires when the user clicks the object with either mouse button.

param

  The mouse event.

### onmouseenter

onmouseenter: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5529

### onmouseleave

onmouseleave: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5530

### onmousemove

onmousemove: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5535

Fires when the user moves the mouse over the object.

param

  The mouse event.

### onmouseout

onmouseout: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5540

Fires when the user moves the mouse pointer outside the boundaries of the object.

param

  The mouse event.

### onmouseover

onmouseover: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5545

Fires when the user moves the mouse pointer into the object.

param

  The mouse event.

### onmouseup

onmouseup: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5550

Fires when the user releases a mouse button while the mouse is over the object.

param

  The mouse event.

### onpause

onpause: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5555

Occurs when playback is paused.

param

  The event.

### onplay

onplay: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5560

Occurs when the play method is requested.

param

  The event.

### onplaying

onplaying: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5565

Occurs when the audio or video has started playing.

param

  The event.

### onpointercancel

onpointercancel: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5566

### onpointerdown

onpointerdown: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5567

### onpointerenter

onpointerenter: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5568

### onpointerleave

onpointerleave: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5569

### onpointermove

onpointermove: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5570

### onpointerout

onpointerout: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5571

### onpointerover

onpointerover: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5572

### onpointerup

onpointerup: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5573

### onprogress

onprogress: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5578

Occurs to indicate progress while downloading media data.

param

  The event.

### onratechange

onratechange: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5583

Occurs when the playback rate is increased or decreased.

param

  The event.

### onreset

onreset: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5588

Fires when the user resets a form.

param

  The event.

### onresize

onresize: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5589

### onscroll

onscroll: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5594

Fires when the user repositions the scroll box in the scroll bar on the object.

param

  The event.

### onsecuritypolicyviolation

onsecuritypolicyviolation: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5595

### onseeked

onseeked: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5600

Occurs when the seek operation ends.

param

  The event.

### onseeking

onseeking: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5605

Occurs when the current playback position is moved.

param

  The event.

### onselect

onselect: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5610

Fires when the current selection changes.

param

  The event.

### onstalled

onstalled: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5615

Occurs when the download has stopped.

param

  The event.

### onsubmit

onsubmit: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5616

### onsuspend

onsuspend: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5621

Occurs if the load operation has been intentionally halted.

param

  The event.

### ontimeupdate

ontimeupdate: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5626

Occurs to indicate the current playback position.

param

  The event.

### ontoggle

ontoggle: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5627

### ontouchcancel

ontouchcancel: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5628

### ontouchend

ontouchend: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5629

### ontouchmove

ontouchmove: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5630

### ontouchstart

ontouchstart: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5631

### ontransitioncancel

ontransitioncancel: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5632

### ontransitionend

ontransitionend: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5633

### ontransitionrun

ontransitionrun: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5634

### ontransitionstart

ontransitionstart: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5635

### onvolumechange

onvolumechange: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5640

Occurs when the volume is changed, or playback is muted or unmuted.

param

  The event.

### onwaiting

onwaiting: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5645

Occurs when playback stops because the next frame of a video resource is not available.

param

  The event.

### onwheel

onwheel: function | null

- Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5646

## Methods

### addEventListener

- addEventListener<K>(type: K, listener: function, options?: boolean | AddEventListenerOptions): void
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void

- - Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5647

  #### Type parameters

  - #### K: keyof GlobalEventHandlersEventMap

  #### Parameters

  - ##### type: K

  - ##### listener: function

    - - (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]): any

      - #### Parameters

        - ##### this: GlobalEventHandlers

        - ##### ev: GlobalEventHandlersEventMap[K]

        #### Returns any

  - ##### Optional options: boolean | AddEventListenerOptions

  #### Returns void

- - Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5648

  #### Parameters

  - ##### type: string

  - ##### listener: EventListenerOrEventListenerObject

  - ##### Optional options: boolean | AddEventListenerOptions

  #### Returns void

### removeEventListener

- removeEventListener<K>(type: K, listener: function, options?: boolean | EventListenerOptions): void
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void

- - Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5649

  #### Type parameters

  - #### K: keyof GlobalEventHandlersEventMap

  #### Parameters

  - ##### type: K

  - ##### listener: function

    - - (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]): any

      - #### Parameters

        - ##### this: GlobalEventHandlers

        - ##### ev: GlobalEventHandlersEventMap[K]

        #### Returns any

  - ##### Optional options: boolean | EventListenerOptions

  #### Returns void

- - Defined in node_modules/typedoc/node_modules/typescript/lib/lib.dom.d.ts:5650

  #### Parameters

  - ##### type: string

  - ##### listener: EventListenerOrEventListenerObject

  - ##### Optional options: boolean | EventListenerOptions

  #### Returns void

Generated using TypeDoc