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

Function leaveAnimationFunctionCleanup

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

Source from the content-addressed store, hash-verified

409}
410
411export function leaveAnimationFunctionCleanup(
412 lView: LView,
413 tNode: TNode,
414 nativeElement: HTMLElement,
415 resolvers: VoidFunction[] | undefined,
416 cleanupFns: VoidFunction[],
417) {
418 clearLeavingNodes(tNode, nativeElement as HTMLElement);
419 cleanupAfterLeaveAnimations(resolvers, cleanupFns);
420 clearLViewNodeAnimationResolvers(lView, tNode);
421}

Callers 1

Calls 3

clearLeavingNodesFunction · 0.85

Tested by

no test coverage detected