MCPcopy
hub / github.com/greensock/GSAP / _renderCSSProp

Function _renderCSSProp

esm/CSSPlugin.js:38–40  ·  view source on GitHub ↗
(ratio, data)

Source from the content-addressed store, hash-verified

36 alpha: "opacity"
37},
38 _renderCSSProp = function _renderCSSProp(ratio, data) {
39 return data.set(data.t, data.p, Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data);
40},
41 _renderPropWithEnd = function _renderPropWithEnd(ratio, data) {
42 return data.set(data.t, data.p, ratio === 1 ? data.e : Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data);
43},

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…