mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
28 lines
667 B
Plaintext
28 lines
667 B
Plaintext
#import <DOM/MutationRecord.idl>
|
|
#import <DOM/Node.idl>
|
|
|
|
[Exposed=Window]
|
|
interface MutationObserver {
|
|
|
|
constructor(MutationCallback callback);
|
|
|
|
undefined observe(Node target, optional MutationObserverInit options = {});
|
|
undefined disconnect();
|
|
sequence<MutationRecord> takeRecords();
|
|
|
|
};
|
|
|
|
callback MutationCallback = undefined (sequence<MutationRecord> mutations, MutationObserver observer);
|
|
|
|
dictionary MutationObserverInit {
|
|
|
|
boolean childList = false;
|
|
boolean attributes;
|
|
boolean characterData;
|
|
boolean subtree = false;
|
|
boolean attributeOldValue;
|
|
boolean characterDataOldValue;
|
|
sequence<DOMString> attributeFilter;
|
|
|
|
};
|