Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

Ionic slides with icon loop

$
0
0

Hi, I’m trying to implement a loop slider from an array with icons. Something like this:
stackblitz

      <ion-slides pager="true" [options]="slideOpts">
        <ion-slide *ngFor="let feature of features">
          <ion-card>
            <ion-card-header>
              <ion-icon size="large" [name]="feature.icon"></ion-icon>
            </ion-card-header>
          </ion-card>
        </ion-slide>
      </ion-slides>

But the icons are shown only on the “first repeat” (please see the example).

Anyone know haw can solve?
Thanks
Davide

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>