docs(angular): add switch content (#6842)

pull/6823/head^2
J. Degand 3 months ago committed by GitHub
parent 58b5b5214e
commit 99054a36a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      src/data/roadmaps/angular/content/switch@nZuim4Fjq6jYOXcRTAEay.md

@ -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/)
Loading…
Cancel
Save