MCPcopy Index your code
hub / github.com/web-animations/web-animations-js

github.com/web-animations/web-animations-js @2.3.2 sqlite

repository ↗ · DeepWiki ↗ · release 2.3.2 ↗
389 symbols 796 edges 83 files 1 documented · 0%
README

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 `

`.
Try it as a live demo.


<script src="https://github.com/web-animations/web-animations-js/raw/2.3.2/web-animations.min.js"></script>




Hello world!




<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

Core symbols most depended-on inside this repo

tick
called by 488
src/tick.js
checkTimes
called by 91
test/js/group-animation.js
compareMatrices
called by 43
test/js/matrix-interpolation.js
normalizeKeyframes
called by 27
src/normalize-keyframes.js
leftAsNumber
called by 18
test/js/keyframes.js
parseTransform
called by 18
src/transform-handler.js
compareInterpolatedTransforms
called by 14
test/js/matrix-interpolation.js
cast
called by 14
src/transform-handler.js

Shape

Function 389

Languages

TypeScript100%

Modules by API surface

web-animations-next.min.js49 symbols
web-animations-next-lite.min.js46 symbols
web-animations.min.js40 symbols
src/timing-utilities.js30 symbols
test/blink/interpolation/resources/interpolation-test.js16 symbols
src/matrix-decomposition.js15 symbols
Gruntfile.js12 symbols
test/js/group-animation.js10 symbols
src/number-handler.js10 symbols
src/handler-utils.js10 symbols
src/dimension-handler.js10 symbols
src/web-animations-next-animation.js9 symbols

Used by 3 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

chai1.9.1 · 1×
closure-linter-wrapper1.0.0 · 1×
grunt0.4.5 · 1×
grunt-checkrepo0.1.0 · 1×
grunt-contrib-uglify0.4.0 · 1×
grunt-git-status1.0.0 · 1×
grunt-gjslint0.2.1 · 1×
grunt-karma3.x · 1×
grunt-saucelabs4.0.2 · 1×
grunt-template0.2.3 · 1×
karma4.x · 1×
karma-chai0.1.0 · 1×

For agents

$ claude mcp add web-animations-js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact