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>
pull/6360/head^2
J. Degand 4 months ago committed by GitHub
parent 55dfae773b
commit c9a0de250e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      src/data/roadmaps/angular/content/if@U1Zy2T-2ki9pDkXn9hn-I.md

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