Topic: how to change data-slide-to=\
Omar free 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>
Add comment
Marta Wierzbicka staff 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No
Tags