MutationObserver class

MutationObserver class

A MutationObserver object can be used to observe mutations to the tree of Node.

Inheritance: MutationObserverDOMObject

The MutationObserver type exposes the following members:

Methods

MethodDescription
observeInstructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).
The options argument allows for setting mutation observation options via object members.
observeInstructs the user agent to observe a given target (a node) and report any mutations based on the criteria given by options (an object).
The options argument allows for setting mutation observation options via object members.
get_platform_typeThis method is used to retrieve ECMAScript object Type.
disconnectStops observer from observing any mutations. Until the observe() method is used again, observer’s callback will not be invoked.
take_recordsThe method returns a copy of the record queue and then empty the record queue.

See Also