docs(angular): add transitions & triggers content (#6562)

pull/6564/head
J. Degand 3 months ago committed by GitHub
parent 8bc222b505
commit bb10b0cbfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      src/data/roadmaps/angular/content/transitions--triggers@Iv2d4sgODqMPzA9gH6RAw.md

@ -1 +1,9 @@
# Transitions & Triggers # Transitions & Triggers
In Angular, transition states can be defined explicitly through the `state()` function, or using the predefined `*` wildcard and `void` states. An asterisk `*` or wildcard matches any animation state. This is useful for defining transitions that apply regardless of the HTML element's start or end state. Use the `void` state to configure transitions for an element that is entering or leaving a page.
Visit the following resources to learn more:
- [@official@Angular Official Docs - Transition and Triggers](https://angular.dev/guide/animations/transition-and-triggers)
- [@video@Angular Animations: Learn the basics](https://www.youtube.com/watch?v=CGBcIz1tYec)
- [@video@How to use trigger function in Angular Animations](https://www.youtube.com/watch?v=3_B4OV5M_Ag)
Loading…
Cancel
Save