Interface GlobalEventHandlers

interface GlobalEventHandlers {
    onabort: Object;
    onanimationcancel: Object;
    onanimationend: Object;
    onanimationiteration: Object;
    onanimationstart: Object;
    onauxclick: Object;
    onbeforeinput: Object;
    onblur: Object;
    oncancel: Object;
    oncanplay: Object;
    oncanplaythrough: Object;
    onchange: Object;
    onclick: Object;
    onclose: Object;
    oncontextmenu: Object;
    oncopy: Object;
    oncuechange: Object;
    oncut: Object;
    ondblclick: Object;
    ondrag: Object;
    ondragend: Object;
    ondragenter: Object;
    ondragleave: Object;
    ondragover: Object;
    ondragstart: Object;
    ondrop: Object;
    ondurationchange: Object;
    onemptied: Object;
    onended: Object;
    onerror: OnErrorEventHandlerNonNull;
    onfocus: Object;
    onformdata: Object;
    ongotpointercapture: Object;
    oninput: Object;
    oninvalid: Object;
    onkeydown: Object;
    onkeypress: Object;
    onkeyup: Object;
    onload: Object;
    onloadeddata: Object;
    onloadedmetadata: Object;
    onloadstart: Object;
    onlostpointercapture: Object;
    onmousedown: Object;
    onmouseenter: Object;
    onmouseleave: Object;
    onmousemove: Object;
    onmouseout: Object;
    onmouseover: Object;
    onmouseup: Object;
    onpaste: Object;
    onpause: Object;
    onplay: Object;
    onplaying: Object;
    onpointercancel: Object;
    onpointerdown: Object;
    onpointerenter: Object;
    onpointerleave: Object;
    onpointermove: Object;
    onpointerout: Object;
    onpointerover: Object;
    onpointerup: Object;
    onprogress: Object;
    onratechange: Object;
    onreset: Object;
    onresize: Object;
    onscroll: Object;
    onsecuritypolicyviolation: Object;
    onseeked: Object;
    onseeking: Object;
    onselect: Object;
    onselectionchange: Object;
    onselectstart: Object;
    onslotchange: Object;
    onstalled: Object;
    onsubmit: Object;
    onsuspend: Object;
    ontimeupdate: Object;
    ontoggle: Object;
    ontouchcancel?: Object;
    ontouchend?: Object;
    ontouchmove?: Object;
    ontouchstart?: Object;
    ontransitioncancel: Object;
    ontransitionend: Object;
    ontransitionrun: Object;
    ontransitionstart: Object;
    onvolumechange: Object;
    onwaiting: Object;
    onwebkitanimationend: Object;
    onwebkitanimationiteration: Object;
    onwebkitanimationstart: Object;
    onwebkittransitionend: Object;
    onwheel: Object;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
}

Hierarchy (view full)

Properties

onabort: Object

Fires when the user aborts the download.

Param: ev

The event.

MDN Reference

onanimationcancel: Object
onanimationend: Object
onanimationiteration: Object
onanimationstart: Object
onauxclick: Object
onbeforeinput: Object
onblur: Object

Fires when the object loses the input focus.

Param: ev

The focus event.

MDN Reference

oncancel: Object
oncanplay: Object

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

Param: ev

The event.

MDN Reference

oncanplaythrough: Object
onchange: Object

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

Param: ev

The event.

MDN Reference

onclick: Object

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

Param: ev

The mouse event.

MDN Reference

onclose: Object
oncontextmenu: Object

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

Param: ev

The mouse event.

MDN Reference

oncopy: Object
oncuechange: Object
oncut: Object
ondblclick: Object

Fires when the user double-clicks the object.

Param: ev

The mouse event.

MDN Reference

ondrag: Object

Fires on the source object continuously during a drag operation.

Param: ev

The event.

MDN Reference

ondragend: Object

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

Param: ev

The event.

MDN Reference

ondragenter: Object

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

Param: ev

The drag event.

MDN Reference

ondragleave: Object

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

Param: ev

The drag event.

MDN Reference

ondragover: Object

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

Param: ev

The event.

MDN Reference

ondragstart: Object

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

Param: ev

The event.

MDN Reference

ondrop: Object
ondurationchange: Object

Occurs when the duration attribute is updated.

Param: ev

The event.

MDN Reference

onemptied: Object

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

Param: ev

The event.

MDN Reference

onended: Object

Occurs when the end of playback is reached.

Param: ev

The event

MDN Reference

Fires when an error occurs during object loading.

Param: ev

The event.

MDN Reference

onfocus: Object

Fires when the object receives focus.

Param: ev

The event.

MDN Reference

onformdata: Object
ongotpointercapture: Object
oninput: Object
oninvalid: Object
onkeydown: Object

Fires when the user presses a key.

Param: ev

The keyboard event

MDN Reference

onkeypress: Object

Fires when the user presses an alphanumeric key.

Param: ev

The event.

Deprecated

MDN Reference

onkeyup: Object

Fires when the user releases a key.

Param: ev

The keyboard event

MDN Reference

onload: Object

Fires immediately after the browser loads the object.

Param: ev

The event.

MDN Reference

onloadeddata: Object

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

Param: ev

The event.

MDN Reference

onloadedmetadata: Object

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

Param: ev

The event.

MDN Reference

onloadstart: Object

Occurs when Internet Explorer begins looking for media data.

Param: ev

The event.

MDN Reference

onlostpointercapture: Object
onmousedown: Object

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

Param: ev

The mouse event.

MDN Reference

onmouseenter: Object
onmouseleave: Object
onmousemove: Object

Fires when the user moves the mouse over the object.

Param: ev

The mouse event.

MDN Reference

onmouseout: Object

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

Param: ev

The mouse event.

MDN Reference

onmouseover: Object

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

Param: ev

The mouse event.

MDN Reference

onmouseup: Object

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

Param: ev

The mouse event.

MDN Reference

onpaste: Object
onpause: Object

Occurs when playback is paused.

Param: ev

The event.

MDN Reference

onplay: Object

Occurs when the play method is requested.

Param: ev

The event.

MDN Reference

onplaying: Object

Occurs when the audio or video has started playing.

Param: ev

The event.

MDN Reference

onpointercancel: Object
onpointerdown: Object
onpointerenter: Object
onpointerleave: Object
onpointermove: Object
onpointerout: Object
onpointerover: Object
onpointerup: Object
onprogress: Object

Occurs to indicate progress while downloading media data.

Param: ev

The event.

MDN Reference

onratechange: Object

Occurs when the playback rate is increased or decreased.

Param: ev

The event.

MDN Reference

onreset: Object

Fires when the user resets a form.

Param: ev

The event.

MDN Reference

onresize: Object
onscroll: Object

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

Param: ev

The event.

MDN Reference

onsecuritypolicyviolation: Object
onseeked: Object

Occurs when the seek operation ends.

Param: ev

The event.

MDN Reference

onseeking: Object

Occurs when the current playback position is moved.

Param: ev

The event.

MDN Reference

onselect: Object

Fires when the current selection changes.

Param: ev

The event.

MDN Reference

onselectionchange: Object
onselectstart: Object
onslotchange: Object
onstalled: Object

Occurs when the download has stopped.

Param: ev

The event.

MDN Reference

onsubmit: Object
onsuspend: Object

Occurs if the load operation has been intentionally halted.

Param: ev

The event.

MDN Reference

ontimeupdate: Object

Occurs to indicate the current playback position.

Param: ev

The event.

MDN Reference

ontoggle: Object
ontouchcancel?: Object
ontouchend?: Object
ontouchmove?: Object
ontouchstart?: Object
ontransitioncancel: Object
ontransitionend: Object
ontransitionrun: Object
ontransitionstart: Object
onvolumechange: Object

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

Param: ev

The event.

MDN Reference

onwaiting: Object

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

Param: ev

The event.

MDN Reference

onwebkitanimationend: Object

Deprecated

This is a legacy alias of onanimationend.

MDN Reference

onwebkitanimationiteration: Object

Deprecated

This is a legacy alias of onanimationiteration.

MDN Reference

onwebkitanimationstart: Object

Deprecated

This is a legacy alias of onanimationstart.

MDN Reference

onwebkittransitionend: Object

Deprecated

This is a legacy alias of ontransitionend.

MDN Reference

onwheel: Object

Methods