Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

data-slide-to dynamic angular

<div  *ngFor=" let item of list ;let i=index"  >
  <li id="gallary" data-bs-target="#carouselExampleFade" [attr.data-bs-slide-to]="i">
   	 <img class="d-block w-100 carousel-pic img" src={{item}} alt="img" >

      </li>
</div>
 
PREVIOUS NEXT
Tagged: #dynamic #angular
ADD COMMENT
Topic
Name
1+6 =