ngSwitch
ngSwitch directive is very simmilar to switch statement in anyother programming language
the only differnce is is Angular we are rendering Some html instead of some logic
We have to use ngSwitch when we gona compare different values if we need to compare 2 values we Use ngIf statement
Syntax
[ngSwitch]
*ngSwitchCase
No doubt, giving food to a hungry person is indeed a great donation, but the greatest donation of all is to give education. Food gives a momentary satisfaction where as education empowers the person for the rest of his life and enables him to earn his own food.
Let's gift education together
/ @codeme7553
Auf dieser Seite können Sie das Online-Video Angular Tutorial - 9 - *ngSwitch mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Code Me 03 März 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!