chore(animations/aot): always export NoOpAnimationDriver (#13480)
This commit is contained in:
parent
aa40366a92
commit
fd8e15b15d
|
@ -10,7 +10,10 @@ import {AnimationPlayer} from '@angular/core';
|
|||
|
||||
import {AnimationKeyframe, AnimationStyles, NoOpAnimationPlayer} from '../private_import_core';
|
||||
|
||||
class _NoOpAnimationDriver implements AnimationDriver {
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
export class NoOpAnimationDriver implements AnimationDriver {
|
||||
animate(
|
||||
element: any, startingStyles: AnimationStyles, keyframes: AnimationKeyframe[],
|
||||
duration: number, delay: number, easing: string,
|
||||
|
@ -19,11 +22,12 @@ class _NoOpAnimationDriver implements AnimationDriver {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @experimental
|
||||
*/
|
||||
export abstract class AnimationDriver {
|
||||
static NOOP: AnimationDriver = new _NoOpAnimationDriver();
|
||||
static NOOP: AnimationDriver = new NoOpAnimationDriver();
|
||||
abstract animate(
|
||||
element: any, startingStyles: AnimationStyles, keyframes: AnimationKeyframe[],
|
||||
duration: number, delay: number, easing: string,
|
||||
|
|
Loading…
Reference in New Issue