1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00
ladybird/Userland/Libraries/LibWeb/Animations/AnimationPlaybackEvent.idl
2023-11-11 22:45:16 +01:00

15 lines
531 B
Text

#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;
};