From 99054a36a651f1c1cc45d187e588bb87f2872413 Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Fri, 30 Aug 2024 02:01:12 -0400 Subject: [PATCH] docs(angular): add switch content (#6842) --- .../angular/content/switch@nZuim4Fjq6jYOXcRTAEay.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/switch@nZuim4Fjq6jYOXcRTAEay.md b/src/data/roadmaps/angular/content/switch@nZuim4Fjq6jYOXcRTAEay.md index f20ad9d77..b2743fefd 100644 --- a/src/data/roadmaps/angular/content/switch@nZuim4Fjq6jYOXcRTAEay.md +++ b/src/data/roadmaps/angular/content/switch@nZuim4Fjq6jYOXcRTAEay.md @@ -1 +1,8 @@ -# @switch \ No newline at end of file +# @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/) \ No newline at end of file