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 programmatically define animations and attach them to an element at will. The very last thing we did was to package 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset