• Overview
@angular/animations

AnimationStateMetadata

interface

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

  
    interface AnimationStateMetadata extends AnimationMetadata {}
  
  

name

string

The state name, unique within the component.

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.

Jump to details