how to change data-slide-to=\


Topic: how to change data-slide-to=\

Omar asked 6 years ago

how to change data-slide-to="0" dynamically use ngFor such as:<ul *ngFor="let image of images;let i = index">
<li data-target="#carousel-thumb" data-slide-to=" i " class="active"> <img class="d-block w-100" [src]=" image "></li></ul>

Marta Szymanska staff pro premium answered 6 years ago

Hi, could you describe your problem in more details? What MDB technology do you use and the exact version. Best, Marta
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No