1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-25 00:21:28 +02:00

docs(angular): add @if content (#6371)

* docs(angular): add @if content

* Update src/data/roadmaps/angular/content/if@U1Zy2T-2ki9pDkXn9hn-I.md

---------

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
J. Degand
2024-08-05 04:51:14 -04:00
committed by GitHub
parent 55dfae773b
commit c9a0de250e

View File

@@ -1 +1,8 @@
# @if
# @if
The @if block conditionally displays its content when its condition expression is truthy. Content is added and removed from the DOM based on the evaluation of conditional expressions in the @if and @else blocks.
Visit the following resources to learn more:
- [@official@Angular Official Docs - @if](https://angular.dev/api/core/@if)
- [@video@Narrow Down signal value type within an if statement](https://egghead.io/lessons/angular-narrow-down-angular-s-signal-value-type-within-an-if-statement)