MCPcopy Index your code
hub / github.com/angular/angular / cleanupAfterLeaveAnimations

Function cleanupAfterLeaveAnimations

packages/core/src/animation/utils.ts:362–374  ·  view source on GitHub ↗
(
  resolvers: VoidFunction[] | undefined,
  cleanupFns: VoidFunction[],
)

Source from the content-addressed store, hash-verified

360}
361
362export function cleanupAfterLeaveAnimations(
363 resolvers: VoidFunction[] | undefined,
364 cleanupFns: VoidFunction[],
365): void {
366 if (resolvers) {
367 for (const fn of resolvers) {
368 fn();
369 }
370 }
371 for (const fn of cleanupFns) {
372 fn();
373 }
374}
375
376export function clearLViewNodeAnimationResolvers(lView: LView, tNode: TNode) {
377 const nodeAnimations = getLViewLeaveAnimations(lView).get(tNode.index);

Callers 3

handleOutAnimationEndFunction · 0.90
animateLeaveClassRunnerFunction · 0.90

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…