- addEventListener(eventName,function,boolean)
- removeEventListener(eventName,function,boolean)
- 匿名函数无法移除
- attachEvent(eventName,function)
- detachEvent(eventName,function)
- 匿名函数无法移除
- event
- bubbles
- cancelable
- currentTarget
- defaultPrevented
- detail
- eventPhase[1捕获2处于3冒泡]
- preventDefault()
- stopImmediatePropagation()
- stopPropagation()
- target
- trusted
- type
- view
- IE的event
- cancelBubble
- returnValue
- srcElement
- type
- UI事件([HTMLEvents,”2.0”],[UIEvent,”3.0”])
- load
- unload
- resize
- scroll
- document.implementation.hasFeature(“UIEvent”,”3.0”)
- document.implementation.hasFeature(“HTMLEvent”,”2.0”)
- 焦点事件(FocusEvent,”3.0”)
- blur
- focus
- focusin[冒泡]
- focusout
鼠标与滚轮事件([MouseEvents,”2.0”],[MouseEvent,”3.0”])
- click
- dblclick
- mousedown
- mouseenter
- mouseleave
- mousemove
- mouseout
- relatedTarget
- toElement(IE)
- mouseover
- relatedTarget
- fromElement(IE)
- mouseup
- event
- eventX
- eventY
- pageX
- pageY
- screenX
- screenY
- button(1:左键2:滑轮3:右键.IE8以下需要兼容)
- detail
鼠标滚轮事件
- mousewheel
- DOMMouseScroll(firefox)
- event
- wheelDelta
- detail(firefox)
- 键盘与文本事件
- keydown
- keypress
- keyup
- event
- keyCode
- charCode
- key
- char
- keyIdentifier
- location
- keyLocation
- getModifierState(“Shift”||”Control”||”AltGraph”||”Meta”)
- textInput
- event
- data
- inputMethod (仅IE支持)
- event
- 复合事件
- compositionstart
- compositionupdate
- compositionend
- 变动事件
- DOMSubtreeModified
- DOMNodeInserted
- DOMNodeRemoved
- DOMNodeInsertedIntoDocument
- DOMNodeRemovedFromDocument
- DOMAttrModified
- DOMCharacterDataModified
HTML5事件
- contextmenu
- beforeunload
- DOMContentLoaded
- readystatechange
- readyState
- uninitialized
- loading
- loaded
- interactive
- complete
- readyState
- pageshow
- event
- persisted
- event
- pagehide
- hashchange
- event
- oldURL
- newURL
- event
设备事件
- orientationchange
- MozOrientation
- deviceorientation
- acceleration
- accelerationIncludingGravity
- interval
- rotationRate
- 触摸与手势事件
- touchstart
- touchend
- touchmove
- touchcancel
- gesturestart
- gesturechange
- gestureend
- 属性
- touches
- targetTouches
- changeTouches
模拟事件
createEvent(UIEvents||MouseEvents||MutationEvents||HTMLEvents)
- initMouseEvent()
dispatchEvent
事件
最新推荐文章于 2023-02-20 21:59:41 发布