( resolvers: VoidFunction[] | undefined, cleanupFns: VoidFunction[], )
| 390 | } |
| 391 | |
| 392 | export function cleanupAfterLeaveAnimations( |
| 393 | resolvers: VoidFunction[] | undefined, |
| 394 | cleanupFns: VoidFunction[], |
| 395 | ): void { |
| 396 | if (resolvers) { |
| 397 | for (const fn of resolvers) { |
| 398 | fn(); |
| 399 | } |
| 400 | } |
| 401 | for (const fn of cleanupFns) { |
| 402 | fn(); |
| 403 | } |
| 404 | } |
| 405 | |
| 406 | export function clearLViewNodeAnimationResolvers(lView: LView, tNode: TNode) { |
| 407 | const nodeAnimations = getLViewLeaveAnimations(lView).get(tNode.index); |
no test coverage detected