Created
April 25, 2023 16:16
-
-
Save SanzSeraph/912c6b4ccfd3c76651a12e59c5924e24 to your computer and use it in GitHub Desktop.
Order of events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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')" | |
onfocusin="console.log('onfocusin - An element gets focus')" | |
onfocus="console.log('onfocus - An element gets focus (not bubbling)')" | |
onkeydown="console.log('onkeydown - A keyboard key is pressed')" | |
onkeypress="console.log('onkeypress - A keyboard key is pressed or held down')" | |
onselectionchange="console.log('onselectionchange - The caret position changed')" | |
onkeyup="console.log('onkeyup - A keyboard key is released')" | |
onselect="console.log('onselect - Text is selected')" | |
onfocusout="console.log('onfocusout - Loosing focus')" | |
onblur="console.log('onblur - Loosing focus (not bubbling)')" | |
ontouchstart="console.log('ontouchstart')" | |
ontouchmove="console.log('ontouchmove')" | |
ontouchend="console.log('ontouchend')" | |
ontouchcancel="console.log('ontouchcancel')" | |
placeholder="edit me" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment