On this page
AnimationFactory
class
A factory object returned from the AnimationBuilder.build() method.
abstract class AnimationFactory {
  abstract create(element: any, options?: AnimationOptions): AnimationPlayer
}
   Methods
| 
         
          create() 
          | 
      ||||
|---|---|---|---|---|
Creates an   | 
      ||||
  | 
      
| element | The DOM element to which to attach the animation.  | 
          
| options | A set of options that can include a time delay and additional developer-defined parameters. Optional. Default is   | 
          
Returns
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v6.angular.io/api/animations/AnimationFactory