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

Ionicons appear only after i refresh the page on Ionic 3

$
0
0

i am using this code to create a list of items with an icon on the left. The code works some times after i run ionic serve but most of the times i need to refresh the browser to actually see the icons. From this i understand that the code works fine but the icons are not loaded until after i refresh.

   <ion-item *ngFor="let category of categories" text-wrap (click)="openCategoryPage(category)" menuClose>
        <ion-icon [name]="category.icon" item-left large></ion-icon>
        <h2>{{category.name}}</h2>  
        <p>{{category.description}}</p>
      </ion-item>

i am assuming this has to do with some issues with icons on v.3 but can’t find the solution.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70443

Trending Articles



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