trigger()

trigger

Experimental Function

Class Export

export trigger(name: string, animation: AnimationMetadata[]) : AnimationEntryMetadata

trigger is an animation-specific function that is designed to be used inside of Angular2's animation DSL language. If this information is new, please navigate to the component animations metadata page to gain a better understanding of how animations in Angular2 are used.

trigger Creates an animation trigger which will a list of state and transition entries that will be evaluated when the expression bound t