• 개요
@angular/animations

AnimationFactory

클래스
사용 중단 권고v20.2부터

A factory object returned from the AnimationBuilder.build() method.

사용 중단을 권고합니다.

Use animate.enter or animate.leave instead. Intent to remove in v23

API

    
      abstract class AnimationFactory {}
    
    

create

AnimationPlayer

Creates 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.

@paramelementany

The DOM element to which to attach the player.

@paramoptionsAnimationOptions | undefined

A set of options that can include a time delay and additional developer-defined parameters.

상세 내용으로 이동