JS中的原生事件看了一下,一共有以下100来个:
onanimationend,
onanimationiteration,
onanimationstart,
onsearch,
ontransitionend,
//onwebkitanimationend,
//onwebkitanimationiteration,
//onwebkitanimationstart,
//onwebkittransitionend,
onabort,
onblur,
oncancel,
oncanplay,
oncanplaythrough,
onchange,
onclick,
onclose,
oncontextmenu,
oncuechange,
ondblclick,
ondrag,
ondragend,
ondragenter,
ondragleave,
ondragover,
ondragstart,
ondrop,
ondurationchange,
onemptied,
onended,
onerror,
onfocus,
oninput,
oninvalid,
onkeydown,
onkeypress,
onkeyup,
onload,
onloadeddata,
onloadedmetadata,
onloadstart,
onmousedown,
onmouseenter,
onmouseleave,
onmousemove,
onmouseout,
onmouseover,
onmouseup,
onmousewheel,
onpause,
onplay,
onplaying,
onprogress,
onratechange,
onreset,
onresize,
onscroll,
onseeked,
onseeking,
onselect,
onstalled,
onsubmit,
onsuspend,
ontimeupdate,
ontoggle,
onvolumechange,
onwaiting,
onwheel,
onauxclick,
ongotpointercapture,
onlostpointercapture,
onpointerdown,
onpointermove,
onpointerup,
onpointercancel,
onpointerover,
onpointerout,
onpointerenter,
onpointerleave,
onselectstart,
onselectionchange,
onafterprint,
onbeforeprint,
onbeforeunload,
onhashchange,
onlanguagechange,
onmessage,
onmessageerror,
onoffline,
ononline,
onpagehide,
onpageshow,
onpopstate,
onrejectionhandled,
onstorage,
onunhandledrejection,
onunload,
onappinstalled,
onbeforeinstallprompt,
ondevicemotion,
ondeviceorientation,
ondeviceorientationabsolute
JS中的事件归纳整理
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 原教程内容详见精益 React 学习指南,这只是我在学习过程中的一些阅读笔记,个人觉得该教程讲解深入浅出,比目前大...