(offOpacity: number = 0)
| 227 | } |
| 228 | |
| 229 | export function fadeOut(offOpacity: number = 0): StyleAnimation { |
| 230 | return (t: number) => ({ opacity: tween(1, offOpacity, t) }); |
| 231 | } |
| 232 | |
| 233 | export function fadeIn(offOpacity: number = 0): StyleAnimation { |
| 234 | return (t: number) => ({ opacity: tween(offOpacity, 1, t) }); |
no test coverage detected