mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:52:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			726 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			726 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/MutationRecord.idl>
 | |
| #import <DOM/Node.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#interface-mutationobserver
 | |
| [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;
 | |
| 
 | |
| };
 | 
