We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4a4f7f commit 593cc8aCopy full SHA for 593cc8a
packages/core/src/render3/instructions/animation.ts
@@ -32,6 +32,8 @@ const areAnimationSupported =
32
(typeof ngServerMode === 'undefined' || !ngServerMode) &&
33
typeof document !== 'undefined' &&
34
// tslint:disable-next-line:no-toplevel-property-access
35
+ typeof document.body !== 'undefined' &&
36
+ // tslint:disable-next-line:no-toplevel-property-access
37
typeof document.body.getAnimations === 'function';
38
39
const noOpAnimationComplete = () => {};
0 commit comments