*ngIf to toggle parent div without affecting the child

前端 未结 0 984
孤街浪徒
孤街浪徒 2020-12-03 02:53

Not sure if this is possible, but is there a way to do an *ngIf for ONLY the targeted element, without affecting anything inside?

For example, in the code below:

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