0

My solution doesn't work if I want to hide the show items after first div is finished. I want to access showItem to put display:none;.

my solution

.hideChildren > .showItem {
    display: none;
}

<div class="hideChildren">
</div>
<div *ngFor="let item of items">
    <div class="showItem></div>
</div>


Marcelo Cardoso
  • 133
  • 2
  • 8
Labs
  • 51
  • 5

0 Answers0