How to use the web-animations-js/web-animations.install.installWebAnimations function in web-animations-js

To help you get started, we’ve selected a few web-animations-js examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ampproject / amphtml / extensions / amp-animation / 0.1 / web-animations-polyfill.js View on Github external
export function installWebAnimationsIfNecessary(win) {
  if (!win[POLYFILLED]) {
    win[POLYFILLED] = true;
    installWebAnimations(win);
  }
}

web-animations-js

JavaScript implementation of the Web Animations API

Apache-2.0
Latest version published 5 years ago

Package Health Score

64 / 100
Full package analysis