| 
									
										
										
										
											2023-11-04 14:00:09 -07:00
										 |  |  | #import <DOM/Event.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // https://www.w3.org/TR/css-animations-1/#animationevent | 
					
						
							|  |  |  | [Exposed=Window] | 
					
						
							|  |  |  | interface AnimationEvent : Event { | 
					
						
							| 
									
										
										
										
											2024-09-10 16:21:16 +09:00
										 |  |  |     constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {}); | 
					
						
							|  |  |  |     readonly attribute CSSOMString animationName; | 
					
						
							|  |  |  |     readonly attribute double elapsedTime; | 
					
						
							|  |  |  |     readonly attribute CSSOMString pseudoElement; | 
					
						
							| 
									
										
										
										
											2023-11-04 14:00:09 -07:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // https://www.w3.org/TR/css-animations-1/#dictdef-animationeventinit | 
					
						
							|  |  |  | dictionary AnimationEventInit : EventInit { | 
					
						
							| 
									
										
										
										
											2024-09-10 16:21:16 +09:00
										 |  |  |     CSSOMString animationName = ""; | 
					
						
							|  |  |  |     double elapsedTime = 0.0; | 
					
						
							|  |  |  |     CSSOMString pseudoElement = ""; | 
					
						
							| 
									
										
										
										
											2023-11-04 14:00:09 -07:00
										 |  |  | }; |