javascript GlobalEventHandlers

本文全面介绍了GlobalEventHandlers接口,该接口将HTMLElement, Document和Window的事件处理统一起来,涵盖从鼠标操作到媒体播放等各类事件,如onclick, onmouseover, onplay等,是理解和使用网页事件处理的基础。
摘要由CSDN通过智能技术生成

GlobalEventHandlersHTMLElement,DocumentWindow的时间整合提来,本质上是这些对象继承了GlobalEventHandlers

属性描述
onaborthttps://developer.mozilla.org/en-US/docs/Web/Events/abort
onblurhttps://developer.mozilla.org/en-US/docs/Web/Events/blur
onerrorhttps://developer.mozilla.org/en-US/docs/Web/Events/error
onfocushttps://developer.mozilla.org/en-US/docs/Web/Events/focus
oncancelhttps://developer.mozilla.org/en-US/docs/Web/Events/cancel
oncanplayhttps://developer.mozilla.org/en-US/docs/Web/Events/canplay
oncanplaythroughhttps://developer.mozilla.org/en-US/docs/Web/Events/canplaythrough
onchangehttps://developer.mozilla.org/en-US/docs/Web/Events/change
onclickhttps://developer.mozilla.org/en-US/docs/Web/Events/click
onclosehttps://developer.mozilla.org/en-US/docs/Web/Events/close
oncontextmenuhttps://developer.mozilla.org/en-US/docs/Web/Events/contextmenu
oncuechangehttps://developer.mozilla.org/en-US/docs/Web/Events/cuechange
ondblclickhttps://developer.mozilla.org/en-US/docs/Web/Events/dblclick
ondraghttps://developer.mozilla.org/en-US/docs/Web/Events/drag
ondragendhttps://developer.mozilla.org/en-US/docs/Web/Events/dragend
ondragenterhttps://developer.mozilla.org/en-US/docs/Web/Events/dragenter
ondragexithttps://developer.mozilla.org/en-US/docs/Web/Events/dragexit
ondragleavehttps://developer.mozilla.org/en-US/docs/Web/Events/dragleave
ondragoverhttps://developer.mozilla.org/en-US/docs/Web/Events/dragover
ondragstarthttps://developer.mozilla.org/en-US/docs/Web/Events/dragstart
ondrophttps://developer.mozilla.org/en-US/docs/Web/Events/drop
ondurationchangehttps://developer.mozilla.org/en-US/docs/Web/Events/durationchange
onemptiedhttps://developer.mozilla.org/en-US/docs/Web/Events/emptied
onendedhttps://developer.mozilla.org/en-US/docs/Web/Events/ended
ongotpointercapturehttps://developer.mozilla.org/en-US/docs/Web/Events/gotpointercapture
oninputhttps://developer.mozilla.org/en-US/docs/Web/Events/input
oninvalidhttps://developer.mozilla.org/en-US/docs/Web/Events/invalid
onkeydownhttps://developer.mozilla.org/en-US/docs/Web/Events/keydown
onkeypresshttps://developer.mozilla.org/en-US/docs/Web/Events/keypress
onkeyuphttps://developer.mozilla.org/en-US/docs/Web/Events/keyup
onloadhttps://developer.mozilla.org/en-US/docs/Web/Events/load
onloadeddatahttps://developer.mozilla.org/en-US/docs/Web/Events/loadeddata
onloadedmetadatahttps://developer.mozilla.org/en-US/docs/Web/Events/loadedmetadata
onloadendhttps://developer.mozilla.org/en-US/docs/Web/Events/loadend
onloadstarthttps://developer.mozilla.org/en-US/docs/Web/Events/loadstart
onlostpointercapturehttps://developer.mozilla.org/en-US/docs/Web/Events/lostpointercapture
onmousedownhttps://developer.mozilla.org/en-US/docs/Web/Events/mousedown
onmouseenterhttps://developer.mozilla.org/en-US/docs/Web/Events/mouseenter
onmouseleavehttps://developer.mozilla.org/en-US/docs/Web/Events/mouseleave
onmousemovehttps://developer.mozilla.org/en-US/docs/Web/Events/mousemove
onmouseouthttps://developer.mozilla.org/en-US/docs/Web/Events/mouseout
onmouseoverhttps://developer.mozilla.org/en-US/docs/Web/Events/mouseover
onmouseuphttps://developer.mozilla.org/en-US/docs/Web/Events/mouseup
onwheelhttps://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onwheel
onpausehttps://developer.mozilla.org/en-US/docs/Web/Events/pause
onplayhttps://developer.mozilla.org/en-US/docs/Web/Events/play
onplayinghttps://developer.mozilla.org/en-US/docs/Web/Events/playing
onpointerdownhttps://developer.mozilla.org/en-US/docs/Web/Events/pointerdown
onpointermovehttps://developer.mozilla.org/en-US/docs/Web/Events/pointermove
onpointeruphttps://developer.mozilla.org/en-US/docs/Web/Events/pointerup
onpointercancelhttps://developer.mozilla.org/en-US/docs/Web/Events/pointercancel
onpointeroverhttps://developer.mozilla.org/en-US/docs/Web/Events/pointerover
onpointerouthttps://developer.mozilla.org/en-US/docs/Web/Events/pointerout
onpointerenterhttps://developer.mozilla.org/en-US/docs/Web/Events/pointerenter
onpointerleavehttps://developer.mozilla.org/en-US/docs/Web/Events/pointerleave
onprogresshttps://developer.mozilla.org/en-US/docs/Web/Events/progress
onratechangehttps://developer.mozilla.org/en-US/docs/Web/Events/ratechange
onresethttps://developer.mozilla.org/en-US/docs/Web/Events/reset
onresizehttps://developer.mozilla.org/en-US/docs/Web/Events/resize
onscrollhttps://developer.mozilla.org/en-US/docs/Web/Events/scroll
onseekedhttps://developer.mozilla.org/en-US/docs/Web/Events/seeked
onseekinghttps://developer.mozilla.org/en-US/docs/Web/Events/seeking
onselecthttps://developer.mozilla.org/en-US/docs/Web/Events/select
onselectstarthttps://developer.mozilla.org/en-US/docs/Web/Events/selectionchange
onselectionchangehttps://developer.mozilla.org/en-US/docs/Web/Events/selectionchange
onstalledhttps://developer.mozilla.org/en-US/docs/Web/Events/stalled
onsubmithttps://developer.mozilla.org/en-US/docs/Web/Events/submit
onsuspendhttps://developer.mozilla.org/en-US/docs/Web/Events/suspend
ontimeupdatehttps://developer.mozilla.org/en-US/docs/Web/Events/timeupdate
onvolumechangehttps://developer.mozilla.org/en-US/docs/Web/Events/volumechange
ontransitioncancelhttps://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitioncancel
ontransitionendhttps://developer.mozilla.org/en-US/docs/Web/Events/transitionend
ontransitionrunhttps://developer.mozilla.org/en-US/docs/Web/Events/transitionrun
ontransitionstarthttps://developer.mozilla.org/en-US/docs/Web/Events/transitionstart
onwaitinghttps://developer.mozilla.org/en-US/docs/Web/Events/waiting
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值