本节给出了DOM 规范、HTML5 规范,以及概述事件行为的其他当前已发布规范中定义的所有浏
览器事件。这些事件按照API 和/或规范分类。
Ambient Light events
devicelight
App Cache events
cached
checking
downloading
noupdate
obsolete
updateready
Audio Channels API
events
headphoneschange
mozinterruptbegin
mozinterruptend
Battery API events
chargingchange
chargingtimechange
dischargingtimechange
levelchange
Broadcast Channel API
events
message
Channel Messaging API events
message
Clipboard API events
beforecopy
beforecut
beforepaste
copy
cut
paste
Contacts API events
contactchange
error
success
CSS Font Loading
API events
loading
loadingdone
loadingerror
CSSOM events
animationend
animationiteration
animationstart
transitionend
CSSOM View events
resize
scroll
Device Orientation events
compassneedscalibration
devicemotion
deviceorientation
Device Storage API events
change
DOM events
abort
beforeinput
blur
click
compositionend
compositionstart
compositionupdate
dblclick
error
focus
focusin
focusout
input
keydown
keypress
keyup
load
mousedown
mouseenter
mouseleave
mousemove
mouseout
mouseover
mouseup
resize
scroll
select
unload
wheel
Download API events
statechange
Encrypted Media Extensions
events
encrypted
keystatuschange
message
waitingforkey
Engineering Mode API events
message
File API events
abort
error
load
loadend
loadstart
progress
File System API events
error
writeend
FMRadio API events
antennaavailablechange
disabled
enabled
frequencychange
Fullscreen API events
fullscreenchange
fullscreenerror
Gamepad API events
gamepadconnected
gamepaddisconnected
HTML DOM events
DOMContentLoaded
abort
afterprint
afterscriptexecute
beforeprint
beforescriptexecute
beforeunload
blur
cancel
canplay
canplaythrough
change
click
close
connect
contextmenu
durationchange
emptied
error
focus
hashchange
input
invalid
languagechange
load
loadeddata
loadedmetadata
loadend
loadstart
message
offline
online
open
pagehide
pageshow
play
playing
popstate
progress
readystatechange
rejectionhandled
reset
seeked
seeking
select
show
sort
stalled
storage
submit
suspend
timeupdate
toggle
unhandledrejection
unload
volumechange
waiting
HTML Drag and Drop API
events
drag
dragend
dragenter
dragexit
dragleave
dragover
dragstart
drop
IndexedDB events
abort
blocked
close
complete
error
success
upgradeneeded
versionchange
Inter-App Connection API events
message
Media Capture and Streams
events
active
addtrack
devicechange
ended
inactive
mute
overconstrained
ratechange
removetrack
started
unmute
Media Source Extensions events
abort
addsourcebuffer
error
removesourcebuffer
sourceclose
sourceended
sourceopen
update
updateend
updatestart
MediaStream Recording events
dataavailable
error
pause
resume
start
stop
Mobile Connection API events
cardstatechange
icccardlockerror
Mobile Messaging API events
close
deliveryerror
deliverysuccess
error
failed
message
open
received
retrieving
sending
sent
Network Information API events
change
Page Visibility API events
visibilitychange
Payment Request API events
shippingaddresschange
shippingoptionchange
Performance API events
resourcetimingbufferfull
Pointer events
gotpointercapture
lostpointercapture
pointercancel
pointerdown
pointerenter
pointerleave
pointermove
pointerout
pointerover
pointerup
Pointer Lock API events
pointerlockchange
pointerlockerror
Presentation API events
change
sessionavailable
sessionconnect
Proximity events
deviceproximity
userproximity
Push API events
push
pushsubscriptionchange
Screen Orientation API events
change
Selection API events
selectionchange
selectstart
Server Sent events
error
message
open
Service Workers API events
activate
controllerchange
error
fetch
install
message
statechange
updatefound
Settings API events
settingchange
Simple Push API events
error
success
Speaker Manager API events
speakerforcedchange
SVG events
DOMAttrModified
DOMCharacterDataModified
DOMNodeInserted
DOMNodeInsertedIntoDocument
DOMNodeRemoved
DOMNodeRemovedFromDocument
DOMSubtreeModified
SVGAbort
SVGError
SVGLoad
SVGResize
SVGScroll
SVGUnload
SVGZoom
activate
beginEvent
click
endEvent
focusin
focusout
mousedown
mousemove
mouseout
mouseover
mouseup
repeatEvent
TCP Socket API events
connect
data
drain
error
Time and Clock API
events
moztimechange
Touch events
touchcancel
touchend
touchmove
touchstart
TV API events
currentchannelchanged
currentsourcechanged
eitbroadcasted
scanningstatechanged
UDP Socket API events
message
Web Audio API events
audioprocess
complete
ended
loaded
message
nodecreate
statechange
Web Components events
slotchange
WebGL events
webglcontextcreationerror
webglcontextlost
webglcontextrestored
Web Manifest events
install
Web MIDI API events
midimessage
statechange
Web Notifications events
click
close
error
show
WebRTC events
addstream
close
datachannel
error
icecandidate
iceconnectionstatechange
icegatheringstatechange
identityresult
idpassertionerror
idpvalidationerror
isolationchange
message
negotiationneeded
open
peeridentity
removestream
signalingstatechange
tonechange
Websockets API events
close
error
message
open
Web Speech API events
audioend
audiostart
boundary
end_(SpeechRecognition)
end_(SpeechSynthesis)
error_(SpeechRecognitionError)
error_(SpeechSynthesis)
mark
nomatch
pause_(SpeechSynthesis)
result
resume
soundend
soundstart
speechend
speechstart
start_(SpeechRecognition)
start_(SpeechSynthesis)
Web Storage API events
storage
Web Telephony API events
incoming
WebVR API events
vrdisplayactivate
vrdisplayblur
vrdisplayconnected
vrdisplaydeactivate
vrdisplaydisconnected
vrdisplayfocus
vrdisplaypresentchange
WebVTT events
addtrack
change
cuechange
enter
exit
removetrack
WiFi Information API events
connectioninfoupdate
statuschange
WiFi P2P API events
disabled
enabled
peerinfoupdate
statuschange
XMLHttpRequest events
abort
error
load
loadend
loadstart
progress
readystatechange
timeout
10-07
8万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-27
2029
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)