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