Skip to content

Instantly share code, notes, and snippets.

View SanzSeraph's full-sized avatar

Daniel Arant SanzSeraph

View GitHub Profile
@SanzSeraph
SanzSeraph / index.html
Created April 25, 2023 16:16
Order of events
<input onclick="console.log('onclick - Mouse clicks an object')"
ondblclick="console.log('ondblclick - Mouse double-clicks an object')"
onmousedown="console.log('onmousedown - A mouse button is pressed')"
onmouseup="console.log('onmouseup - A mouse button is released')"
onmousemove="console.log('onmousemove - The mouse is moved')"
onmouseenter="console.log('onmousenter - The mouse is moved over an element (not bubbling)')"
onmouseover="console.log('onmouseover - The mouse is moved over an element')"
onmouseout="console.log('onmouseout - The mouse is moved off an element')"
onmouseleave="console.log('onmouseout - The mouse is moved off an element (not bubbling)')"
onchange="console.log('onchange - The user changes the content of a field')"