Question · Cours Angular · Module 2: Composants
Nouvelle syntaxe @if
Quelle est la nouvelle syntaxe d'affichage conditionnel dans Angular 17+Â ?
Réponses possibles
- *ngIf="condition"
- @if (condition) { }
- v-if="condition"
- {#if condition}
Afficher la réponse
Bonne réponse :
- @if (condition) { }