summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/webidls/unstable/Animatable.webidl
blob: 26a6c9f87a40098f7738bf5deb7ca70bc52d0de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
interface mixin Animatable {
    Animation           animate(object? keyframes,
                                optional (unrestricted double or KeyframeAnimationOptions) options = {});
    sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});
};

dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
    DOMString id = "";
    AnimationTimeline? timeline;
};

dictionary GetAnimationsOptions {
    boolean subtree = false;
};