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

Function getCurrentValue

animateplus.js:232–233  ·  view source on GitHub ↗
(from, to, easing)

Source from the content-addressed store, hash-verified

230 addPropertyKeyframes(property, computeValue(values, index)));
231
232const getCurrentValue = (from, to, easing) =>
233 from + (to - from) * easing;
234
235const recomposeValue = ([from, to], strings, round, easing) =>
236 strings.reduce((style, string, index) => {

Callers 1

recomposeValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected