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:
@@ -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)
|
Reference in New Issue
Block a user