JSON Of DOM-Events From W3Schools

Posted at

{
"headers": ["Event", "Category", "Description", "DOM Level"]
, "table": [
"Mouse", "onclick", "The event occurs when the user clicks on an element", 2
, "Mouse", "oncontextmenu", "The event occurs when the user right-clicks on an element to open a context menu", 3
, "Mouse", "ondblclick", "The event occurs when the user double-clicks on an element", 2
, "Mouse", "onmousedown", "The event occurs when the user presses a mouse button over an element", 2
, "Mouse", "onmouseenter", "The event occurs when the pointer is moved onto an element", 2
, "Mouse", "onmouseleave", "The event occurs when the pointer is moved out of an element", 2
, "Mouse", "onmousemove", "The event occurs when the pointer is moving while it is over an element", 2
, "Mouse", "onmouseover", "The event occurs when the pointer is moved onto an element, or onto one of its children", 2
, "Mouse", "onmouseout", "The event occurs when a user moves the mouse pointer out of an element, or out of one of its children", 2
, "Mouse", "onmouseup", "The event occurs when a user releases a mouse button over an element", 2
, "Keyboard", "onkeydown", "The event occurs when the user is pressing a key", 2
, "Keyboard", "onkeypress", "The event occurs when the user presses a key", 2
, "Keyboard", "onkeyup", "The event occurs when the user releases a key", 2
, "Frame/Object", "onabort", "The event occurs when the loading of a resource has been aborted", 2
, "Frame/Object", "onbeforeunload", "The event occurs before the document is about to be unloaded", 2
, "Frame/Object", "onerror", "The event occurs when an error occurs while loading an external file", 2
, "Frame/Object", "onhashchange", "The event occurs when there has been changes to the anchor part of a URL", 3
, "Frame/Object", "onload", "The event occurs when an object has loaded", 2
, "Frame/Object", "onpageshow", "The event occurs when the user navigates to a webpage", 3
, "Frame/Object", "onpagehide", "The event occurs when the user navigates away from a webpage", 3
, "Frame/Object", "onresize", "The event occurs when the document view is resized", 2
, "Frame/Object", "onscroll", "The event occurs when an element's scrollbar is being scrolled", 2
, "Frame/Object", "onunload", "The event occurs once a page has unloaded (for <body>)", 2
, "Form", "onblur", "The event occurs when an element loses focus", 2
, "Form", "onchange", "The event occurs when the content of a form element, the selection, or the checked state have changed (for <input />, <keygen>, <select>, and <textarea>)", 2
, "Form", "onfocus", "The event occurs when an element gets focus", 2
, "Form", "onfocusin", "The event occurs when an element is about to get focus", 2
, "Form", "onfocusout", "The event occurs when an element is about to lose focus", 2
, "Form", "oninput", "The event occurs when an element gets user input", 3
, "Form", "oninvalid", "The event occurs when an element is invalid", 3
, "Form", "onreset", "The event occurs when a form is reset", 2
, "Form", "onsearch", "The event occurs when the user writes something in a search field (for <input =\\"search\\"/>)", 3
, "Form", "onselect", "The event occurs after the user selects some text (for <input /> and </textarea><textarea>)", 2
, "Form", "onsubmit", "The event occurs when a form is submitted", 2
, "Drag&Drop", "ondrag", "The event occurs when an element is being dragged", 3
, "Drag&Drop", "ondragend", "The event occurs when the user has finished dragging an element", 3
, "Drag&Drop", "ondragenter", "The event occurs when the dragged element enters the drop target", 3
, "Drag&Drop", "ondragleave", "The event occurs when the dragged element leaves the drop target", 3
, "Drag&Drop", "ondragover", "The event occurs when the dragged element is over the drop target", 3
, "Drag&Drop", "ondragstart", "The event occurs when the user starts to drag an element", 3
, "Drag&Drop", "ondrop", "The event occurs when the dragged element is dropped on the drop target", 3
, "Clipboard", "oncopy", "The event occurs when the user copies the content of an element", null
, "Clipboard", "oncut", "The event occurs when the user cuts the content of an element", null
, "Clipboard", "onpaste", "The event occurs when the user pastes some content in an element", null
, "Print", "onafterprint", "The event occurs when a page has started printing, or if the print dialogue box has been closed", 3
, "Print", "onbeforeprint", "The event occurs when a page is about to be printed", 3
, "Media", "onabort", "The event occurs when the loading of a media is aborted", 3
, "Media", "oncanplay", "The event occurs when the browser can start playing the media (when it has buffered enough to begin)", 3
, "Media", "oncanplaythrough", "The event occurs when the browser can play through the media without stopping for buffering", 3
, "Media", "ondurationchange", "The event occurs when the duration of the media is changed", 3
, "Media", "onemptied", "The event occurs when something bad happens and the media file is suddenly unavailable (like unexpectedly disconnects)", 3
, "Media", "onended", "The event occurs when the media has reach the end (useful for messages like \\"thanks for listening\\")", 3
, "Media", "onerror", "The event occurs when an error occurred during the loading of a media file", 3
, "Media", "onloadeddata", "The event occurs when media data is loaded", 3
, "Media", "onloadedmetadata", "The event occurs when meta data (like dimensions and duration) are loaded", 3
, "Media", "onloadstart", "The event occurs when the browser starts looking for the specified media", 3
, "Media", "onpause", "The event occurs when the media is paused either by the user or programmatically", 3
, "Media", "onplay", "The event occurs when the media has been started or is no longer paused", 3
, "Media", "onplaying", "The event occurs when the media is playing after having been paused or stopped for buffering", 3
, "Media", "onprogress", "The event occurs when the browser is in the process of getting the media data (downloading the media)", 3
, "Media", "onratechange", "The event occurs when the playing speed of the media is changed", 3
, "Media", "onseeked", "The event occurs when the user is finished moving/skipping to a new position in the media", 3
, "Media", "onseeking", "The event occurs when the user starts moving/skipping to a new position in the media", 3
, "Media", "onstalled", "The event occurs when the browser is trying to get media data, but data is not available", 3
, "Media", "onsuspend", "The event occurs when the browser is intentionally not getting media data", 3
, "Media", "ontimeupdate", "The event occurs when the playing position has changed (like when the user fast forwards to a different point in the media)", 3
, "Media", "onvolumechange", "The event occurs when the volume of the media has changed (includes setting the volume to \\"mute\\")", 3
, "Media", "onwaiting", "The event occurs when the media has paused but is expected to resume (like when the media pauses to buffer more data)", 3
, "Animation", "animationend", "The event occurs when a CSS animation has completed", 3
, "Animation", "animationiteration", "The event occurs when a CSS animation is repeated", 3
, "Animation", "animationstart", "The event occurs when a CSS animation has started", 3
, "Transition", "transitionend", "The event occurs when a CSS transition has completed", 3
, "Server-Sent", "onerror", "The event occurs when an error occurs with the event source", null
, "Server-Sent", "onmessage", "The event occurs when a message is received through the event source", null
, "Server-Sent", "onopen", "The event occurs when a connection with the event source is opened", null
, "Misc", "onmessage", "The event occurs when a message is received through or from an object (WebSocket, Web Worker, Event Source or a child frame or a parent window)", 3
, "Misc", "onmousewheel", "Deprecated. Use the onwheel event instead", null
, "Misc", "ononline", "The event occurs when the browser starts to work online", 3
, "Misc", "onoffline", "The event occurs when the browser starts to work offline", 3
, "Misc", "onpopstate", "The event occurs when the window's history changes", 3
, "Misc", "onshow", "The event occurs when a <menu> element is shown as a context menu", 3
, "Misc", "onstorage", "The event occurs when a Web Storage area is updated", 3
, "Misc", "ontoggle", "The event occurs when the user opens or closes the <details> element", 3
, "Misc", "onwheel", "The event occurs when the mouse wheel rolls up or down over an element", 3
, "Touch", "ontouchcancel", "The event occurs when the touch is interrupted", null
, "Touch", "ontouchend", "The event occurs when a finger is removed from a touch screen", null
, "Touch", "ontouchmove", "The event occurs when a finger is dragged across the screen", null
, "Touch", "ontouchstart", "The event occurs when a finger is placed on a touch screen", null
]
}