AnimationFactory

An instance of AnimationFactory is returned from AnimationBuilder.build.

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

方法

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

参数

element

Type: any.

options

Type: AnimationOptions.

可选. 默认值是 undefined.

返回值

AnimationPlayer