Kayıtlar

if statement etiketine sahip yayınlar gösteriliyor

Angular 6 If else statement

< div * ngIf = "condition statement;else other_content" > content here ... </ div > < ng - template # other_content > other content here ...</ ng - template > you can also use  then else  : < div * ngIf = "condition statement;then content else other_content" > here is ignored </ div > < ng - template # content > content here ...</ ng - template > < ng - template # other_content > other content here ...</ ng - template > or  then  alone : < div * ngIf = "condition statement;then content" ></ div > < ng - template # content > content here ...</ ng - template >