Mutation events are used in jquery to manage dom query caching. Take a look at this (slide 18) :
http://www.slideshare.net/jeresig/jquery-internals-cool-stuff-presentation
This link has been bookmarked by 23 people . It was first bookmarked on 20 Oct 2006, by zaoliu.
-
22 Jan 13
-
23 Jun 10
-
allow notification of any changes to the structure of a document, including attr and text modifications
-
hasFeature(feature, version)
-
-
25 Jul 09
-
The different types of Mutation events that can occur are:
-
-
-
24 Mar 09
-
17 Feb 09
-
15 Dec 08
-
foster interoperability of existing scripts and content
-
event propagation and event listener registration
-
The process by which an event propagates upward through its ancestors after being handled by the event's target.
-
prevent the DOM implementation from processing any default action associated with the event.
-
event capture and event bubbling, along with various event listener registration techniques
-
-
It is expected that actions taken by
EventListeners may cause additional events to fire. -
an EventListener registered on an ancestor of the event's target can intercept events of a given type before they are received by the event's target.
-
useCapture -
A capturing
EventListenerwill not be triggered by events dispatched directly to theEventTargetupon which it is registered. -
stopProgagation -
based event model
-
EventListeners registered as capturers will not be triggered during this phase. -
hyperlink in a web browser
-
preventDefault
-
The
EventTargetinterface is implemented by allNodesin an implementation which supports the DOM Event Model. -
Events which are bubbling upward through the tree will not trigger an
EventListenerdesignated to use capture. -
registration of a second event listener of the same type would replace the first listener
-
In HTML 4.0, event listeners were specified as attributes of an element
-
In order to achieve compatibility with HTML 4.0, implementors may view the setting of attributes which represent event handlers as the creation and registration of an
EventListeneron theEventTarget. The value ofuseCapturedefaults tofalse. -
No technique is provided to allow HTML 4.0 event listeners access to the context information defined for each event.
-
It is expected that the
DocumentEventinterface will be implemented on the same object which implements theDocumentinterface -
The model has been designed to allow addition of new event modules as is required.
-
hasFeature(feature, version)
-
-
17 Jul 08
-
15 May 08
-
29 Apr 08
Per Cederqvist"The DOM Level 2 Event Model is designed with two main goals. The first goal is the design of a generic event system which allows registration of event handlers, describes event flow through a tree structure, and provides basic contextual information for
-
08 Mar 08
-
11 Dec 07
-
04 Jun 07
-
24 Apr 07
-
Add Sticky NoteIf multiple identical
EventListeners are registered on the sameEventTargetwith the same parameters the duplicate instances are discarded. They do not cause theEventListenerto be called twice and since they are discarded they do not need to be removed with theremoveEventListenermethod.-
Duplicates are ignored. How about addEvent in IE?
-
From MSDN:If you attach multiple functions to the same event on the same object, the functions are called in random order, immediately after the object's event handler is called.
-
-
-
20 Oct 06
Public Stiky Notes
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.