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

Function leaveAnimationFunctionCleanup

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

Source from the content-addressed store, hash-verified

379}
380
381export function leaveAnimationFunctionCleanup(
382 lView: LView,
383 tNode: TNode,
384 nativeElement: HTMLElement,
385 resolvers: VoidFunction[] | undefined,
386 cleanupFns: VoidFunction[],
387) {
388 clearLeavingNodes(tNode, nativeElement as HTMLElement);
389 cleanupAfterLeaveAnimations(resolvers, cleanupFns);
390 clearLViewNodeAnimationResolvers(lView, tNode);
391}

Callers 1

Calls 3

clearLeavingNodesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…