mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-03 06:12:53 +02:00
docs(angular): add switch content (#6842)
This commit is contained in:
@@ -1 +1,8 @@
|
||||
# @switch
|
||||
# @switch
|
||||
|
||||
The `@switch` blocks displays content selected by one of the cases matching against the conditional expression. The value of the conditional expression is compared to the case expression using the `===` operator. `@switch` does not have fallthrough, so you do not need an equivalent to a break or return statement.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Angular Official Docs - @switch](https://angular.dev/guide/templates/control-flow#switch-block---selection)
|
||||
- [@article@Angular @switch: Complete Guide](https://blog.angular-university.io/angular-switch/)
|
Reference in New Issue
Block a user