1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 12:40:03 +02:00

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

This commit is contained in:
J. Degand
2024-08-14 05:45:08 -04:00
committed by GitHub
parent 8bc222b505
commit bb10b0cbfa

View File

@@ -1 +1,9 @@
# 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)