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

Function clearTrackedLeavingNode

packages/core/src/render3/node_animations.ts:384–391  ·  view source on GitHub ↗
(lView: LView | undefined, tNode: TNode)

Source from the content-addressed store, hash-verified

382}
383
384function clearTrackedLeavingNode(lView: LView | undefined, tNode: TNode): void {
385 if (lView) {
386 const rawSlot = lView[tNode.index];
387 if (rawSlot != null) {
388 clearLeavingNodes(tNode, unwrapRNode(rawSlot) as HTMLElement);
389 }
390 }
391}
392
393function runAfterLeaveAnimations(
394 lView: LView,

Callers 3

executeLeaveAnimationsFunction · 0.85
runAfterLeaveAnimationsFunction · 0.85

Calls 2

clearLeavingNodesFunction · 0.90
unwrapRNodeFunction · 0.90

Tested by

no test coverage detected