...

/

Parallel Animations

Parallel Animations

Learn how to execute your animation in parallel using Angular animations’ group function.

Parallel animations refers to executing multiple animation steps together. An example of this would be animating an element’s opacity and position at the same time.

How it works

Defining multiple style changes within the same style function would execute our animation in parallel. However, this method doesn’t allow modification to the animate function.

Angular animations’ group function allows executing multiple independent animations (multiple animate functions) in parallel. This grouping mechanism enables us to use different animation configurations for each style change. Each animation could have its duration, ...

Access this course and 1400+ top-rated courses and projects.