mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:22:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/Event.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#interface-customevent
 | |
| [Exposed=(Window,Worker)]
 | |
| interface CustomEvent : Event {
 | |
|     constructor(DOMString type, optional CustomEventInit eventInitDict = {});
 | |
| 
 | |
|     readonly attribute any detail;
 | |
| 
 | |
|     undefined initCustomEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any detail = null);
 | |
| };
 | |
| 
 | |
| dictionary CustomEventInit : EventInit {
 | |
|     any detail = null;
 | |
| };
 | 
