AnimationFactory

class experimental

npm Package @angular/animations
Module import { AnimationFactory } from '@angular/animations';
Source animations/src/animation_builder.ts

Overview

class AnimationFactory {
  create(element: any, options?: AnimationOptions): AnimationPlayer
}

Description

An instance of AnimationFactory is returned from AnimationBuilder.build.

Members

create(element: any, options?: AnimationOptions): AnimationPlayer

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/animations/AnimationFactory