mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			717 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			717 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Animations/Animation.idl>
 | |
| #import <Animations/KeyframeEffect.idl>
 | |
| 
 | |
| // https://www.w3.org/TR/web-animations-1/#the-animatable-interface-mixin
 | |
| interface mixin Animatable {
 | |
|     Animation animate(object? keyframes, optional (unrestricted double or KeyframeAnimationOptions) options = {});
 | |
|     sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});
 | |
| };
 | |
| 
 | |
| // https://www.w3.org/TR/web-animations-1/#dictdef-keyframeanimationoptions
 | |
| dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
 | |
|     DOMString id = "";
 | |
|     AnimationTimeline? timeline;
 | |
| };
 | |
| 
 | |
| // https://www.w3.org/TR/web-animations-1/#dictdef-getanimationsoptions
 | |
| dictionary GetAnimationsOptions {
 | |
|     boolean subtree = false;
 | |
| };
 | 
