@angular/animations

trigger

function

Creates a named animation trigger, containing a list of state() and transition() entries to be evaluated when the expression bound to the trigger changes.

trigger(
name: string,
definitions: AnimationMetadata[]
): AnimationTriggerMetadata;
Jump to details