AnimationFactory
Class
deprecatedsince v20.2
A factory object returned from the
AnimationBuilder.build()
method.
Deprecation warning
create
AnimationPlayerCreates an AnimationPlayer instance for the reusable animation defined by
the AnimationBuilder.build()
method that created this factory and attaches the new player a DOM element.
@paramelement
anyThe DOM element to which to attach the player.
@paramoptions
AnimationOptions | undefinedA set of options that can include a time delay and additional developer-defined parameters.
@returns
AnimationPlayerJump to details