HTML DOM-gebeurtenisobjecten
Gebeurtenisobjecten
Wanneer een gebeurtenis plaatsvindt in HTML, hoort de gebeurtenis bij een bepaald gebeurtenisobject, zoals een muisklikgebeurtenis bij het MouseEvent-object hoort.
Voor een tutorial over Events, lees onze JavaScript Events Tutorial .
Het gebeurtenisobject
Alle gebeurtenisobjecten zijn gebaseerd op het gebeurtenisobject en nemen al hun eigenschappen en methoden over
Event Object | Description |
---|---|
Event | The parent of all event objects |
Andere gebeurtenisobjecten
Dit zijn de meest voorkomende gebeurtenisobjecten:
Event Object | Description |
---|---|
AnimationEvent | For CSS animations |
ClipboardEvent | For modification of the clipboard |
DragEvent | For drag and drop interaction |
FocusEvent | For focus-related events |
HashChangeEvent | For changes in the anchor part of the URL |
InputEvent | For user input |
KeyboardEvent | For keyboard interaction |
MouseEvent | For mouse interaction |
PageTransitionEvent | For navigating to, and away from, web pages |
PopStateEvent | For changes in the history entry |
ProgressEvent | For the progress of loading external resources |
StorageEvent | For changes in the window's storage area. |
TouchEvent | For touch interaction |
TransitionEvent | For CSS transitions |
UiEvent | For user interface interaction |
WheelEvent | For mousewheel interaction |