Coding task · Angular course · Module 13: UI and Styling

Practice: Entry animation

trigger() defines an animation and transition() describes a state change: for an element being added to the view Angular has a special state alias (and another one for an element being removed). style() sets the starting CSS, and the function that takes a duration and an easing (e.g. '300ms ease-out') moves the element to the target style. Remember to import every function you use.

Task

Complete the fadeIn animation for an appearing element.