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
In questa pagina del sito puoi guardare il video online Angular Tutorial - 9 - *ngSwitch della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Me 03 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 8 volte e gli è piaciuto 0 spettatori. Buona visione!