chore(animations/aot): always export NoOpAnimationDriver (#13480)

This commit is contained in:
Matias Niemelä 2016-12-14 14:51:29 -08:00 committed by Victor Berchet
parent aa40366a92
commit fd8e15b15d
1 changed files with 6 additions and 2 deletions

View File

@ -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,