MCPcopy Create free account
hub / github.com/bendc/animateplus / accelerate

Function accelerate

animateplus.js:28–31  ·  view source on GitHub ↗
({style}, keyframes)

Source from the content-addressed store, hash-verified

26};
27
28const accelerate = ({style}, keyframes) =>
29 style.willChange = keyframes
30 ? keyframes.map(({property}) => property).join()
31 : "auto";
32
33const createSVG = (element, attributes) =>
34 Object.entries(attributes).reduce((node, [attribute, value]) => {

Callers 2

addAnimationsFunction · 0.85
tickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected