• 개요
@angular/animations

AnimationStateMetadata

인터페이스
사용 중단 권고v20.2부터

Encapsulates an animation state by associating a state name with a set of CSS styles. Instantiated and returned by the state() function.

사용 중단을 권고합니다.

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

API

    
      interface AnimationStateMetadata extends AnimationMetadata {}
    
    

name

string

The state name, unique within the component.

styles

AnimationStyleMetadata

The CSS styles associated with this state.

options

{ params: { [name: string]: any; }; } | undefined

An options object containing developer-defined parameters that provide styling defaults and can be overridden on invocation.

상세 내용으로 이동