1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-01 13:22:38 +02:00

docs(angular): add else content (#6716)

This commit is contained in:
J. Degand
2024-08-21 04:36:21 -04:00
committed by GitHub
parent cab7373201
commit 1173e7c932

View File

@@ -1 +1,8 @@
# @else
# @else
While the `@if` block can be helpful in many situations, it's common to also show fallback UI when the condition is not met. When you need a fallback, similar to JavaScript's else clause, add an `@else` block to accomplish the same effect.
Visit the following resources to learn more:
- [@official@Angular Official Docs - @else block](https://angular.dev/essentials/conditionals-and-loops#else-block)
- [@article@Angular If Else Control Flow Blocks Explained](https://ultimatecourses.com/blog/angular-if-else-control-flow-blocks-explained)