mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			431 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			431 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Element.idl>
 | |
| 
 | |
| [Exposed=(Window)]
 | |
| interface ResizeObserver {
 | |
| 
 | |
|     // FIXME: This should be a ResizeObserverCallback.
 | |
|     constructor(any callback);
 | |
|     undefined observe(Element target, optional ResizeObserverOptions options = {});
 | |
|     undefined unobserve(Element target);
 | |
|     undefined disconnect();
 | |
| 
 | |
| };
 | |
| 
 | |
| dictionary ResizeObserverOptions {
 | |
| 
 | |
|     // FIXME: This should be an enum.
 | |
|     DOMString box = "content-box";
 | |
| 
 | |
| };
 | 
