当 HTML 中发生事件时,该事件属于某个事件对象,就像鼠标单击事件属于 MouseEvent 对象一样。
有关事件的教程,请阅读我们的JavaScript 事件教程。
所有事件对象均基于事件对象。
所有事件对象都继承事件对象的属性和方法。
Object | Description |
---|---|
Event | The parent of all event objects |
Object | Handles |
---|---|
AnimationEvent | CSS animations |
ClipboardEvent | Modification of the clipboard |
DragEvent | Drag and drop interaction |
FocusEvent | Focus-related events |
HashChangeEvent | Changes in the anchor part of an URL |
InputEvent | User input |
KeyboardEvent | Keyboard interaction |
MouseEvent | Mouse interaction |
PageTransitionEvent | Navigation between web pages |
PopStateEvent | Changes in the page history |
ProgressEvent | The progress of loading external files |
StorageEvent | Changes in the Web Storage |
TouchEvent | Touch interaction |
TransitionEvent | CSS transitions |
UiEvent | User interface interaction |
WheelEvent | Mouse-wheel interaction |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!