( animations: Map<number, EnterNodeAnimations | LeaveNodeAnimations>, tNode: TNode, fn: RunEnterAnimationFn | RunLeaveAnimationFn, )
| 350 | * @param fn The animation function to be called later |
| 351 | */ |
| 352 | export function addAnimationToLView( |
| 353 | animations: Map<number, EnterNodeAnimations | LeaveNodeAnimations>, |
| 354 | tNode: TNode, |
| 355 | fn: RunEnterAnimationFn | RunLeaveAnimationFn, |
| 356 | ) { |
| 357 | const nodeAnimations = animations.get(tNode.index) ?? {animateFns: []}; |
| 358 | nodeAnimations.animateFns.push(fn); |
| 359 | animations.set(tNode.index, nodeAnimations); |
| 360 | } |
| 361 | |
| 362 | export function cleanupAfterLeaveAnimations( |
| 363 | resolvers: VoidFunction[] | undefined, |
no test coverage detected
searching dependent graphs…