MutationObserver
The MutationObserver
API watches for changes to the DOM tree and calls a callback function when DOM changes occur.
To learn more, see
MutationObserver,
MutationObserver: MutationObserver() constructor,
MutationObserver: disconnect() method,
MutationObserver: observe() method,
MutationObserver: takeRecords() method,
MutationRecord,
MutationRecord: addedNodes property,
MutationRecord: attributeName property,
MutationRecord: attributeNamespace property,
MutationRecord: nextSibling property,
MutationRecord: oldValue property,
MutationRecord: previousSibling property,
MutationRecord: removedNodes property,
MutationRecord: target property,
MutationRecord: type property at MDN.
Compatibility
- Chrome 26 Released on 2013-03-26
- Chrome Android 26 Released on 2013-04-03
- Edge 12 Released on 2015-07-29
- Firefox 14 Released on 2012-07-17
- Firefox for Android 14 Released on 2012-06-26
- Safari 7 Released on 2013-10-22
- Safari on iOS 7 Released on 2013-09-18
Specifications
- DOM Standard (#interface-mutationobserver), from DOM Workstream (WHATWG).