MutationObserver
package js.html
Available on js
The MutationObserver
interface provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.
Documentation MutationObserver by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Constructor
new(mutationCallback:(Array<MutationRecord>, MutationObserver) ‑> Void)
Throws:
null |
DOMError |
---|
Methods
disconnect():Void
observe(target:Node, ?options:Null<MutationObserverInit>):Void
Throws:
null |
DOMError |
---|
takeRecords():Array<MutationRecord>
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/MutationObserver.html