SyntaxFix
Write A Post
Hire A Developer
Questions
This will work but the element will still in the DOM.
.hidden { display: none; }
<div [class.hidden]="!show" *ngFor="let thing of stuff"> {{log(thing)}} <span>{{thing.name}}</span> </div>