MCPcopy Create free account
hub / github.com/pomber/code-surfer / fadeIn

Function fadeIn

packs/standalone/src/animation.ts:233–235  ·  view source on GitHub ↗
(offOpacity: number = 0)

Source from the content-addressed store, hash-verified

231}
232
233export function fadeIn(offOpacity: number = 0): StyleAnimation {
234 return (t: number) => ({ opacity: tween(offOpacity, 1, t) });
235}
236
237export function tween(
238 from: number,

Callers 2

fadeOutInFunction · 0.85
halfFadeInFunction · 0.85

Calls 1

tweenFunction · 0.85

Tested by

no test coverage detected