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

Function fadeOutIn

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

Source from the content-addressed store, hash-verified

128}
129
130export function fadeOutIn(offOpacity = 0) {
131 return chain([[0.5, fadeOut(offOpacity)], [1, fadeIn(offOpacity)]]);
132}
133
134export function halfFadeIn(offOpacity = 0) {
135 return chain([[0.5, undefined], [1, fadeIn(offOpacity)]], { opacity: 0 });

Callers 2

TitleFunction · 0.90
SubtitleFunction · 0.90

Calls 3

chainFunction · 0.85
fadeOutFunction · 0.85
fadeInFunction · 0.85

Tested by

no test coverage detected