/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_bindings/webidls/Animatable.webidl
22 строки
829 B
Simon Wülker
script: Stub out core interfaces of the Web Animation API (#45522)
10 июн 2026, 00:48
Не верифицирован
10 июн 2026, 00:48
1e5588f
Код
Авторство
О чём код?
/* 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 https://mozilla.org/MPL/2.0/. */ // https://drafts.csswg.org/web-animations-1/#the-animatable-interface-mixin interface mixin Animatable { [Pref="dom_web_animations_enabled"] 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; CSSOMString? pseudoElement = null; };