( parentLView: LView | undefined, parent: RElement | null, tNode: TNode, injector: Injector, )
| 25 | import {ANIMATIONS, ID, LView, TVIEW, TViewType} from './interfaces/view'; |
| 26 | |
| 27 | export 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 | |
| 39 | export function runLeaveAnimationsWithCallback( |
| 40 | lView: LView | undefined, |
no test coverage detected
searching dependent graphs…