0Pricing
Angular Academy · Lesson

Animation Basics: trigger and state

Define animation states and triggers.

Angular Animations

Angular's animation system is a declarative DSL built on the Web Animations API. You describe states and transitions, and Angular handles the timing and DOM updates.

Setup

Provide animations in your bootstrap config to enable the animation engine.

bootstrapApplication(AppComponent, {
  providers: [provideAnimationsAsync()]
});

All lessons in this course

  1. Animation Basics: trigger and state
  2. Transitions and Timing
  3. Enter and Leave Animations
  4. Keyframes and Staggering
← Back to Angular Academy