unplugged-system/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js
2025-10-06 13:59:42 +00:00
..
docs Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
externs Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
src Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
.bower.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
bower.json Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CONTRIBUTING.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
COPYING Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
History.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations-next-lite.min.html Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations-next-lite.min.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations-next-lite.min.js.map Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations-next.min.html Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations-next.min.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations-next.min.js.map Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations.html Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations.min.html Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations.min.js Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
web-animations.min.js.map Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

What is Web Animations?

A new JavaScript API for driving animated content on the web. By unifying the animation features of SVG and CSS, Web Animations unlocks features previously only usable declaratively, and exposes powerful, high-performance animation capabilities to developers.

What is in this repository?

A JavaScript implementation of the Web Animations API that provides Web Animation features in browsers that do not support it natively. The polyfill falls back to the native implementation when one is available.

Quick start

Here's a simple example of an animation that fades and scales a <div>.
Try it as a live demo.

<!-- Include the polyfill -->
<script src="web-animations.min.js"></script>

<!-- Set up a target to animate -->
<div class="pulse" style="width: 150px;">Hello world!</div>

<!-- Animate! -->
<script>
    var elem = document.querySelector('.pulse');
    var animation = elem.animate({
        opacity: [0.5, 1],
        transform: ['scale(0.5)', 'scale(1)'],
    }, {
        direction: 'alternate',
        duration: 500,
        iterations: Infinity,
    });
</script>

Documentation

We love feedback!

Keep up-to-date

Breaking polyfill changes will be announced on this low-volume mailing list: web-animations-changes@googlegroups.com.

More info