- the summary of DOM event is as follows.
category | event |
---|---|
CSSAnimationEvent | animationstart, animationiteration, animationend, transitionend |
customEvent | |
DocumentRelatedEvent | DOMContentLoaded, readystatechange |
DragEvent | drag, dragstart, dragend, dragenter, dragover, dragleave, drop |
FocusEvent | focus, blur |
FormEvent | change, reset, submit, select |
KeyboardEvent | keyboard event: keydown, keyup, keypress clipboard event: copy, cut, paste, beforecopy, beforecut, beforepast text event: input |
MouseEvent | click, dblclick, contextmenu, mousedown, mouseup, mousemove, mouseenter, mouseleave, mouseover, mouseout |
TouchEvent | touchstart, touchmove, touchend, touchcancel gesture event: gesturestart, gestureend, gesturechange |
UIEvent | load, scroll |
WheelEvent | wheel |
windowRelatedEvent | hashchange, message, popstate, storage |