Bootstrap 5 curseur d'image avec ngfor
<div id="carouselExampleIndicators" #mycarouselControls class="carousel slide" data-ride="carousel" data-interval="2000">
<div class="carousel-inner">
<ul *ngFor="let pic of pics;let i=index; first as isFirst">
<div [ngClass]="isFirst ? 'carousel-item active' : 'carousel-item' ">
<li><img src={{pic}} class="d-block w-100 carousel-pic" alt="..."></li>
</div>
</ul>
</div>
</div>
Farwa Miraj