AnimationBuilderlink
AnimationBuilder is an injectable service that is available when the BrowserAnimationsModule or NoopAnimationsModule modules are used within an application.
说明
The purpose of this service is to produce an animation sequence programmatically within an angular component or directive.
Programmatic animations are first built and then a player is created when the build animation is attached to an element.
When an animation is built an instance of AnimationFactory will be returned. Using that an AnimationPlayer can be created which can then be used to start the animation.
方法
参数
返回值 |