MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / playAnimations

Function playAnimations

packages/core/src/runtime/adapters/css.ts:69–78  ·  view source on GitHub ↗
(animations: Animation[])

Source from the content-addressed store, hash-verified

67 };
68
69 const playAnimations = (animations: Animation[]) => {
70 for (const animation of animations) {
71 try {
72 animation.play();
73 } catch (err) {
74 // ignore animation edge-cases
75 swallow("runtime.adapters.css.site3", err);
76 }
77 }
78 };
79
80 const pauseAnimations = (animations: Animation[]) => {
81 for (const animation of animations) {

Callers 1

createCssAdapterFunction · 0.85

Calls 2

swallowFunction · 0.90
playMethod · 0.65

Tested by

no test coverage detected