Back to Developer Roadmap

@if

src/data/roadmaps/angular/content/[email protected]

4.0481 B
Original Source

@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: