MCPcopy Create free account
hub / github.com/angular/angular / leaveAnimationFunctionCleanup

Function leaveAnimationFunctionCleanup

packages/core/src/animation/utils.ts:436–446  ·  view source on GitHub ↗
(
  lView: LView,
  tNode: TNode,
  nativeElement: HTMLElement,
  resolvers: VoidFunction[] | undefined,
  cleanupFns: VoidFunction[],
)

Source from the content-addressed store, hash-verified

434}
435
436export function leaveAnimationFunctionCleanup(
437 lView: LView,
438 tNode: TNode,
439 nativeElement: HTMLElement,
440 resolvers: VoidFunction[] | undefined,
441 cleanupFns: VoidFunction[],
442) {
443 clearLeavingNodes(tNode, nativeElement as HTMLElement);
444 cleanupAfterLeaveAnimations(resolvers, cleanupFns);
445 clearLViewNodeAnimationResolvers(lView, tNode);
446}

Callers 1

Calls 3

clearLeavingNodesFunction · 0.85

Tested by

no test coverage detected