2018-09-13 20:04:55 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2014-07-16 00:02:31 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://dev.w3.org/fxtf/web-animations/#the-animatable-interface
|
|
|
|
*
|
|
|
|
* Copyright © 2014 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
2016-01-29 01:37:52 +00:00
|
|
|
dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
|
|
|
|
DOMString id = "";
|
|
|
|
};
|
|
|
|
|
2019-05-22 05:40:36 +00:00
|
|
|
dictionary GetAnimationsOptions {
|
2016-03-22 00:33:02 +00:00
|
|
|
boolean subtree = false;
|
|
|
|
};
|
|
|
|
|
2019-09-24 15:22:26 +00:00
|
|
|
interface mixin Animatable {
|
2018-07-12 06:56:05 +00:00
|
|
|
[Throws]
|
2016-05-13 00:40:52 +00:00
|
|
|
Animation animate(object? keyframes,
|
2019-07-03 07:52:35 +00:00
|
|
|
optional UnrestrictedDoubleOrKeyframeAnimationOptions options = {});
|
|
|
|
sequence<Animation> getAnimations(optional GetAnimationsOptions options = {});
|
2014-07-16 00:02:31 +00:00
|
|
|
};
|