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 AnimationPlayer instance for the reusable animation defined by the AnimationBuilder .build() method that created this factory. Attaches the new player a DOM element.
| ||||||
abstract create(element: any, options?: AnimationOptions): AnimationPlayerParameters
Returns
|
© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v9.angular.io/api/animations/AnimationFactory