Summary
We have only scratched the surface of dealing with animations. To read up on everything you can do, we suggest looking at the official documentation at https://angular.io/guide/animations.
In this chapter, we started looking at how to define vanilla CSS animations. Then, we explained animation triggers and how you can declaratively attach a defined animation to an element. Then, we looked at how to define animations and attach them to an element programmatically. The very last thing we did was to bundle our programmatic animations in a directive. There is a lot more to learn about animations, but now you should have a basic understanding of what APIs exist and when to use them. Go out there and make your app full of life, but remember, less is more.
Web applications must be testable to make sure that they are functioning correctly and according to the application requirements. In the next chapter, we will learn how to apply different testing techniques in the context...