标准事件冒泡表

Posted by bower on October 20, 2013

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Event Type Sync / Async Bubbling phase Trusted event target types DOM interface Cancelable Default Action
abort Sync No Element Event No none
blur Sync No Element FocusEvent No none
click Sync Yes Element MouseEvent Yes DOMActivate event
compositionstart Sync Yes Element CompositionEvent Yes Show a text composition system candidate window
compositionupdate Sync Yes Element CompositionEvent No none
compositionend Sync Yes Element CompositionEvent No none
dblclick Sync Yes Element MouseEvent No none
DOMActivate ligar gratis para fixo do android Warning!Deprecated Sync Yes Element UIEvent Yes none
DOMAttrModified https://cryptonextlevel.com/miser/10034 Warning!Deprecated Sync Yes Element MutationEvent No none
DOMCharacterDataModified http://mariechristinedesign.com/?misleno=site-de-rencontre-n1&a4b=ae Warning!Deprecated Sync Yes TextCommentCDATASection,ProcessingInstruction MutationEvent No none
DOMFocusIn http://www.sonbuenos.com/viowety/3975 Warning!Deprecated Sync Yes Element FocusEvent No none
DOMFocusOut renaissance festival dating site Warning!Deprecated Sync Yes Element FocusEvent No none
DOMNodeInserted site de rencontre avec Г©trangers Warning!Deprecated Sync Yes ElementAttrTextComment,CDATASectionDocumentType,EntityReferenceProcessingInstruction MutationEvent No none
DOMNodeInsertedIntoDocument http://serezin-du-rhone.fr/pifpaxys/6387 Warning!Deprecated Sync No ElementAttrTextComment,CDATASectionDocumentType,EntityReferenceProcessingInstruction MutationEvent No none
DOMNodeRemoved sites de rencontre nrj Warning!Deprecated Sync Yes ElementAttrTextComment,CDATASectionDocumentType,EntityReferenceProcessingInstruction MutationEvent No none
DOMNodeRemovedFromDocument follow link Warning!Deprecated Sync No ElementAttrTextComment,CDATASectionDocumentType,EntityReferenceProcessingInstruction MutationEvent No none
DOMSubtreeModified here Warning!Deprecated Sync Yes defaultViewDocument,DocumentFragmentElementAttr MutationEvent No none
error Async No Element Event No none
focus Sync No Element FocusEvent No none
focusin Sync Yes Element FocusEvent No none
focusout Sync Yes Element FocusEvent No none
keydown Sync Yes DocumentElement KeyboardEvent Yes Varies: keypress event; launch text composition systemblur and focus events;DOMActivate event; other event
keypress Sync Yes DocumentElement KeyboardEvent Yes Varies: launch text composition systemblurand focus events; DOMActivate event; other event
keyup Sync Yes DocumentElement KeyboardEvent Yes none
load Async No defaultViewDocumentElement Event No none
mousedown Sync Yes Element MouseEvent Yes Varies: start a drag/drop operation; start a text selection; start a scroll/pan interaction (in combination with the middle mouse button, if supported)
mouseenter Sync No Element MouseEvent No none
mouseleave Sync No Element MouseEvent No none
mousemove Sync Yes Element MouseEvent Yes none
mouseout Sync Yes Element MouseEvent Yes none
mouseover Sync Yes Element MouseEvent Yes none
mouseup Sync Yes Element MouseEvent Yes Invoke a context menu (in combination with the right mouse button, if supported)
resize Sync No defaultViewDocument UIEvent No none
scroll Async No /Yes defaultViewDocumentElement UIEvent No none
select Sync Yes Element Event No none
unload Sync No defaultViewDocumentElement Event No none
wheel Async Yes defaultViewDocumentElement WheelEvent Yes Scroll (or zoom) the document

follow link Example: The following is one way to interpret the above table: the load event will trigger event listeners attached on Element nodes for that event and on the capture and target phases. This event is not cancelable. If an event listener for the load event is attached to a node other than defaultViewDocument, orElement nodes, or if it is attached to the bubbling phase only, this event listener would not be triggered.

see Note: Don’t interpret the above table as definitive for the listed event types. For example, the load event is used in other specifications, for example, in XMLHttpRequest. Similarly, dispatchEvent can be used to dispatch untrusted events to listeners on  any object that also implementsEventTarget.

Note: The event objects associated with the event types described above contain additional context information–refer to the description of the DOM interfaces for further information.

分享到:人人网开心网腾讯微博新浪微博豆瓣分享腾讯空间百度搜藏腾讯书签

分享给你的朋友->bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word