Files
ladybird/Libraries/LibWeb/CSS/AnimationEvent.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

24 lines
885 B
Plaintext

// https://drafts.csswg.org/css-animations-1/#animationevent
[Exposed=Window]
interface AnimationEvent : Event {
constructor(CSSOMString type, optional AnimationEventInit animationEventInitDict = {});
readonly attribute CSSOMString animationName;
readonly attribute double elapsedTime;
readonly attribute CSSOMString pseudoElement;
};
// https://drafts.csswg.org/css-animations-1/#dictdef-animationeventinit
dictionary AnimationEventInit : EventInit {
CSSOMString animationName = "";
double elapsedTime = 0.0;
CSSOMString pseudoElement = "";
};
// https://drafts.csswg.org/css-animations/#interface-globaleventhandlers-idl
partial interface mixin GlobalEventHandlers {
attribute EventHandler onanimationcancel;
attribute EventHandler onanimationend;
attribute EventHandler onanimationiteration;
attribute EventHandler onanimationstart;
};