MutationObserver Class
https://dom.spec.whatwg.org/#interface-mutationobserver
public sealed class MutationObserverConstructors
| Name | Description |
|---|---|
| MutationObserver(MutationCallback) | Creates an observer that invokes the callback with the batched mutation records. |
MutationObserver(MutationCallback)
MutationObserver.csCreates an observer that invokes the callback with the batched mutation records.
public MutationObserver(MutationCallback callback)Methods
| Name | Description |
|---|---|
| Disconnect() | https://dom.spec.whatwg.org/#dom-mutationobserver-disconnect |
| Observe(Node, MutationObserverInit?) | https://dom.spec.whatwg.org/#dom-mutationobserver-observe |
| TakeRecords() | https://dom.spec.whatwg.org/#dom-mutationobserver-takerecords |
Disconnect()
MutationObserver.cshttps://dom.spec.whatwg.org/#dom-mutationobserver-disconnect
public void Disconnect()Observe(Node, MutationObserverInit?)
MutationObserver.cshttps://dom.spec.whatwg.org/#dom-mutationobserver-observe
public void Observe(Node target, MutationObserverInit? options = null)TakeRecords()
MutationObserver.cshttps://dom.spec.whatwg.org/#dom-mutationobserver-takerecords
public IReadOnlyList<MutationRecord> TakeRecords()