docs(angular): add else content (#6716)
parent
cab7373201
commit
1173e7c932
1 changed files with 8 additions and 1 deletions
@ -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) |
Loading…
Reference in new issue