blob: 02deca73a3a3378c9906776d547a37b7c31e0fb5 [file] [log] [blame]
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: CSS Animation Worklet API (https://wicg.github.io/animation-worklet/)
[Exposed=Window]
partial namespace CSS {
[SameObject] readonly attribute Worklet animationWorklet;
};
[ Global=(Worklet,AnimationWorklet), Exposed=AnimationWorklet ]
interface AnimationWorkletGlobalScope : WorkletGlobalScope {
void registerAnimator(DOMString name, AnimatorInstanceConstructor animatorCtor);
};
callback AnimatorInstanceConstructor = any (any options, optional any state);
[ Exposed=AnimationWorklet ]
interface WorkletAnimationEffect {
EffectTiming getTiming();
ComputedEffectTiming getComputedTiming();
attribute double? localTime;
};
[Exposed=Window,
Constructor (DOMString animatorName,
optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
optional AnimationTimeline? timeline,
optional any options)]
interface WorkletAnimation : Animation {
readonly attribute DOMString animatorName;
};
[Exposed=AnimationWorklet]
interface WorkletGroupEffect {
sequence<WorkletAnimationEffect> getChildren();
};