(lView: LView)
| 34 | * Helper function to check if animations are disabled via injection token |
| 35 | */ |
| 36 | export function areAnimationsDisabled(lView: LView): boolean { |
| 37 | const injector = lView[INJECTOR]!; |
| 38 | return injector.get(ANIMATIONS_DISABLED, DEFAULT_ANIMATIONS_DISABLED); |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Asserts a value passed in is actually an animation type and not something else |
no test coverage detected
searching dependent graphs…