What is the difference between [ngIf] and *ngIf in angular?

后端 未结 0 541
孤城傲影
孤城傲影 2021-02-06 18:25

I have used below 2line of codes in component, both are working as expected, but why we have 2 different type of directive. please help me to understand below code.

show con
相关标签:
回答
  • 消灭零回复
提交回复
热议问题