mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	 126d6d0838
			
		
	
	
		126d6d0838
		
	
	
	
	
		
			
			I originally implemented this as something to use the new sequence wrapper, however, after having a look at uses with grep.app, it's used often, for example: - Bootstrap 5 Dropdowns - Polymer - Angular - Closure
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| interface Event {
 | |
| 
 | |
|     constructor(DOMString type, optional EventInit eventInitDict = {});
 | |
| 
 | |
|     readonly attribute DOMString type;
 | |
|     readonly attribute EventTarget? target;
 | |
|     readonly attribute EventTarget? srcTarget;
 | |
|     readonly attribute EventTarget? currentTarget;
 | |
|     sequence<EventTarget> composedPath();
 | |
| 
 | |
|     readonly attribute unsigned short eventPhase;
 | |
| 
 | |
|     undefined stopPropagation();
 | |
|     attribute boolean cancelBubble;
 | |
|     undefined stopImmediatePropagation();
 | |
| 
 | |
|     readonly attribute boolean bubbles;
 | |
|     readonly attribute boolean cancelable;
 | |
|     attribute boolean returnValue;
 | |
|     undefined preventDefault();
 | |
|     readonly attribute boolean defaultPrevented;
 | |
|     readonly attribute boolean composed;
 | |
| 
 | |
|     readonly attribute boolean isTrusted;
 | |
|     readonly attribute double timeStamp;
 | |
| 
 | |
|     undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false);
 | |
| 
 | |
| };
 | |
| 
 | |
| dictionary EventInit {
 | |
|     boolean bubbles = false;
 | |
|     boolean cancelable = false;
 | |
|     boolean composed = false;
 | |
| };
 |