WebIDLpedia

WorkletAnimation interface

Definition

CSS Animation Worklet API defines WorkletAnimation



[Exposed=Window]
interface WorkletAnimation : Animation {
        constructor(DOMString animatorName,
              optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
              optional AnimationTimeline? timeline,
              optional any options);
        readonly attribute DOMString animatorName;
};

Methods and attributes that return objects implementing WorkletAnimation