Angular - Animations
Which of the following is the correct syntax to define an enter animation trigger in Angular?
transition(':enter', [...]) inside a trigger with defined styles and animate calls.trigger('fadeIn', [transition(':enter', [style({opacity: 0}), animate('500ms', style({opacity: 1}))])]) correctly uses transition(':enter', [style(...), animate(...)]). The distractors misuse state, animate directly, or wrong transition name.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions