English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
In HTML, when an event occurs, the event belongs to a certain event object, just like the mouse move event belongs to the MouseEvent object.
All event objects are based on the event object and inherit all its properties and methods:
Event Object | Description |
---|---|
Event | Parent object of all event objects |
The following is a list of objects based on the main event object:
Event Object | Description |
---|---|
AnimationEvent | For CSS animations |
ClipboardEvent | For modifying the clipboard |
DragEvent | For drag-and-drop interaction |
FocusEvent | For focus-related events |
HashChangeEvent | For changing the anchor part of the URL |
InputEvent | For user input |
KeyboardEvent | For keyboard interaction |
MouseEvent | Mouse interaction |
PageTransitionEvent | For browsing and leaving the web page |
PopStateEvent | For changes in history entries |
ProgressEvent | For the progress of loading external resources |
StorageEvent | For changing the storage area of the window. |
TouchEvent | For touch interaction |
TransitionEvent | For CSS transitions |
UiEvent | For user interface interaction |
WheelEvent | For mouse wheel interaction |