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

Function maybeQueueEnterAnimation

packages/core/src/render3/node_animations.ts:27–37  ·  view source on GitHub ↗
(
  parentLView: LView | undefined,
  parent: RElement | null,
  tNode: TNode,
  injector: Injector,
)

Source from the content-addressed store, hash-verified

25import {ANIMATIONS, ID, LView, TVIEW, TViewType} from './interfaces/view';
26
27export function maybeQueueEnterAnimation(
28 parentLView: LView | undefined,
29 parent: RElement | null,
30 tNode: TNode,
31 injector: Injector,
32): void {
33 const enterAnimations = parentLView?.[ANIMATIONS]?.enter;
34 if (parent !== null && enterAnimations && enterAnimations.has(tNode.index)) {
35 queueEnterAnimations(injector, enterAnimations);
36 }
37}
38
39export function runLeaveAnimationsWithCallback(
40 lView: LView | undefined,

Callers 1

Calls 2

queueEnterAnimationsFunction · 0.90
hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…