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

Function areAnimationsDisabled

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

Source from the content-addressed store, hash-verified

34 * Helper function to check if animations are disabled via injection token
35 */
36export 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

Callers 4

ɵɵanimateEnterFunction · 0.90
ɵɵanimateEnterListenerFunction · 0.90
ɵɵanimateLeaveFunction · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…