Animations in Angular are fun to work with, but they do require a bit of configuration. Here, see a brief overview of how Angular animations work—using resources from the official Angular website.
- [Narrator] Animations in Angular are fun to work with, but they do require a bit of configuration. Here, we'll have a brief overview of how Angular animations work, using resources from the official Angular website. So if you open up your browser and go to Angular.io, you'll be presented with the main Angular page here. To actually access the documentation on animations in the guide, you'll click on Docs. And from here, go to Fundamentals, Template and Data Binding, and way down at the bottom here, you will find Animations.
As you can see in the Tool Tip, this is a guide to Angular's animation system. Here we're presented with a short overview of animations inside of Angular, but the important things to note here are that animations are built on top of the standard web animation's API. Which means that they run natively within the browsers that support it, which are basically all modern browsers. However, if you do need to target older browsers that do not support it, there is a poly fill you can grab from GitHub, which is found right here.
Scrolling down, we can see that there's a quick start here, and it gives you some of the fundamentals. For instance, animations have to be defined inside of component metadata, and you need some animation specific imports. The most important one, of course, is browser animations module, which you import from Angular/platform-browser/animations. It then goes through a short guide showing you how to actually implement these within a project.
But we'll go over all of that ourselves in this course. Now before we start wiring in Angular animations, we'll need to create a new Angular project to work with.
- Installing the Angular CLI
- Creating a new project
- Verifying the animations package
- Configuring project routes
- Animating components
- Triggering animation between states
- Stepped and parallel animation
- Writing reusable animations
- Animating individual items with query and stagger
- Animating an existing Angular project
Skill Level Intermediate
1. Getting Ready to Animate
2. Enabling Angular Animations
3. Angular Animation Basics
4. Advanced Angular Animation
5. Animating an Existing Interface
6. Package for Distribution
Building the project1m 56s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.