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

Function getLViewLeaveAnimations

packages/core/src/animation/utils.ts:268–271  ·  view source on GitHub ↗
(lView: LView)

Source from the content-addressed store, hash-verified

266 * Retrieves the list of specified leave animations from the lView
267 */
268export function getLViewLeaveAnimations(lView: LView): Map<number, LeaveNodeAnimations> {
269 const animationData = (lView[ANIMATIONS] ??= {});
270 return (animationData.leave ??= new Map());
271}
272
273/**
274 * Gets the list of classes from a passed in value

Callers 6

ɵɵanimateLeaveFunction · 0.90
runLeaveAnimationsFunction · 0.90
animateLeaveClassRunnerFunction · 0.90
ɵɵanimateLeaveListenerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected