mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
LibWeb: Add the AnimationPlaybackEvent IDL object
This commit is contained in:
parent
82c36b303c
commit
43dc9dfb69
6 changed files with 102 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#animationplaybackevent
|
||||
[Exposed=Window]
|
||||
interface AnimationPlaybackEvent : Event {
|
||||
constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
|
||||
readonly attribute double? currentTime;
|
||||
readonly attribute double? timelineTime;
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/web-animations-1/#dictdef-animationplaybackeventinit
|
||||
dictionary AnimationPlaybackEventInit : EventInit {
|
||||
double? currentTime = null;
|
||||
double? timelineTime = null;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue