Interface GlobalEventHandlers

Hierarchy

Properties

onabort: null | ((this, ev) => any)

Fires when the user aborts the download.

Type declaration

Param

The event.

MDN Reference

onanimationcancel: null | ((this, ev) => any)

Type declaration

onanimationend: null | ((this, ev) => any)

Type declaration

onanimationiteration: null | ((this, ev) => any)

Type declaration

onanimationstart: null | ((this, ev) => any)

Type declaration

onauxclick: null | ((this, ev) => any)

Type declaration

onbeforeinput: null | ((this, ev) => any)

Type declaration

onblur: null | ((this, ev) => any)

Fires when the object loses the input focus.

Type declaration

Param

The focus event.

MDN Reference

oncancel: null | ((this, ev) => any)

Type declaration

oncanplay: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

oncanplaythrough: null | ((this, ev) => any)

Type declaration

onchange: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onclick: null | ((this, ev) => any)

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

Type declaration

Param

The mouse event.

MDN Reference

onclose: null | ((this, ev) => any)

Type declaration

oncontextmenu: null | ((this, ev) => any)

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

Type declaration

Param

The mouse event.

MDN Reference

oncopy: null | ((this, ev) => any)

Type declaration

oncuechange: null | ((this, ev) => any)

Type declaration

oncut: null | ((this, ev) => any)

Type declaration

ondblclick: null | ((this, ev) => any)

Fires when the user double-clicks the object.

Type declaration

Param

The mouse event.

MDN Reference

ondrag: null | ((this, ev) => any)

Fires on the source object continuously during a drag operation.

Type declaration

Param

The event.

MDN Reference

ondragend: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

ondragenter: null | ((this, ev) => any)

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

Type declaration

Param

The drag event.

MDN Reference

ondragleave: null | ((this, ev) => any)

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

Type declaration

Param

The drag event.

MDN Reference

ondragover: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

ondragstart: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

ondrop: null | ((this, ev) => any)

Type declaration

ondurationchange: null | ((this, ev) => any)

Occurs when the duration attribute is updated.

Type declaration

Param

The event.

MDN Reference

onemptied: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onended: null | ((this, ev) => any)

Occurs when the end of playback is reached.

Type declaration

Param

The event

MDN Reference

Fires when an error occurs during object loading.

Param

The event.

MDN Reference

onfocus: null | ((this, ev) => any)

Fires when the object receives focus.

Type declaration

Param

The event.

MDN Reference

onformdata: null | ((this, ev) => any)

Type declaration

ongotpointercapture: null | ((this, ev) => any)

Type declaration

oninput: null | ((this, ev) => any)

Type declaration

oninvalid: null | ((this, ev) => any)

Type declaration

onkeydown: null | ((this, ev) => any)

Fires when the user presses a key.

Type declaration

Param

The keyboard event

MDN Reference

onkeypress: null | ((this, ev) => any)

Fires when the user presses an alphanumeric key.

Type declaration

Param

The event.

Deprecated

MDN Reference

onkeyup: null | ((this, ev) => any)

Fires when the user releases a key.

Type declaration

Param

The keyboard event

MDN Reference

onload: null | ((this, ev) => any)

Fires immediately after the browser loads the object.

Type declaration

Param

The event.

MDN Reference

onloadeddata: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onloadedmetadata: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onloadstart: null | ((this, ev) => any)

Occurs when Internet Explorer begins looking for media data.

Type declaration

Param

The event.

MDN Reference

onlostpointercapture: null | ((this, ev) => any)

Type declaration

onmousedown: null | ((this, ev) => any)

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

Type declaration

Param

The mouse event.

MDN Reference

onmouseenter: null | ((this, ev) => any)

Type declaration

onmouseleave: null | ((this, ev) => any)

Type declaration

onmousemove: null | ((this, ev) => any)

Fires when the user moves the mouse over the object.

Type declaration

Param

The mouse event.

MDN Reference

onmouseout: null | ((this, ev) => any)

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

Type declaration

Param

The mouse event.

MDN Reference

onmouseover: null | ((this, ev) => any)

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

Type declaration

Param

The mouse event.

MDN Reference

onmouseup: null | ((this, ev) => any)

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

Type declaration

Param

The mouse event.

MDN Reference

onpaste: null | ((this, ev) => any)

Type declaration

onpause: null | ((this, ev) => any)

Occurs when playback is paused.

Type declaration

Param

The event.

MDN Reference

onplay: null | ((this, ev) => any)

Occurs when the play method is requested.

Type declaration

Param

The event.

MDN Reference

onplaying: null | ((this, ev) => any)

Occurs when the audio or video has started playing.

Type declaration

Param

The event.

MDN Reference

onpointercancel: null | ((this, ev) => any)

Type declaration

onpointerdown: null | ((this, ev) => any)

Type declaration

onpointerenter: null | ((this, ev) => any)

Type declaration

onpointerleave: null | ((this, ev) => any)

Type declaration

onpointermove: null | ((this, ev) => any)

Type declaration

onpointerout: null | ((this, ev) => any)

Type declaration

onpointerover: null | ((this, ev) => any)

Type declaration

onpointerup: null | ((this, ev) => any)

Type declaration

onprogress: null | ((this, ev) => any)

Occurs to indicate progress while downloading media data.

Type declaration

Param

The event.

MDN Reference

onratechange: null | ((this, ev) => any)

Occurs when the playback rate is increased or decreased.

Type declaration

Param

The event.

MDN Reference

onreset: null | ((this, ev) => any)

Fires when the user resets a form.

Type declaration

Param

The event.

MDN Reference

onresize: null | ((this, ev) => any)

Type declaration

onscroll: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onscrollend: null | ((this, ev) => any)

Type declaration

onsecuritypolicyviolation: null | ((this, ev) => any)

Type declaration

onseeked: null | ((this, ev) => any)

Occurs when the seek operation ends.

Type declaration

Param

The event.

MDN Reference

onseeking: null | ((this, ev) => any)

Occurs when the current playback position is moved.

Type declaration

Param

The event.

MDN Reference

onselect: null | ((this, ev) => any)

Fires when the current selection changes.

Type declaration

Param

The event.

MDN Reference

onselectionchange: null | ((this, ev) => any)

Type declaration

onselectstart: null | ((this, ev) => any)

Type declaration

onslotchange: null | ((this, ev) => any)

Type declaration

onstalled: null | ((this, ev) => any)

Occurs when the download has stopped.

Type declaration

Param

The event.

MDN Reference

onsubmit: null | ((this, ev) => any)

Type declaration

onsuspend: null | ((this, ev) => any)

Occurs if the load operation has been intentionally halted.

Type declaration

Param

The event.

MDN Reference

ontimeupdate: null | ((this, ev) => any)

Occurs to indicate the current playback position.

Type declaration

Param

The event.

MDN Reference

ontoggle: null | ((this, ev) => any)

Type declaration

ontouchcancel?: null | ((this, ev) => any)

Type declaration

ontouchend?: null | ((this, ev) => any)

Type declaration

ontouchmove?: null | ((this, ev) => any)

Type declaration

ontouchstart?: null | ((this, ev) => any)

Type declaration

ontransitioncancel: null | ((this, ev) => any)

Type declaration

ontransitionend: null | ((this, ev) => any)

Type declaration

ontransitionrun: null | ((this, ev) => any)

Type declaration

ontransitionstart: null | ((this, ev) => any)

Type declaration

onvolumechange: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onwaiting: null | ((this, ev) => any)

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

Type declaration

Param

The event.

MDN Reference

onwebkitanimationend: null | ((this, ev) => any)

Type declaration

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

onwebkitanimationiteration: null | ((this, ev) => any)

Type declaration

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

onwebkitanimationstart: null | ((this, ev) => any)

Type declaration

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

onwebkittransitionend: null | ((this, ev) => any)

Type declaration

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

onwheel: null | ((this, ev) => any)

Type declaration

Methods

Generated using TypeDoc