Icons not working in ionTab


#1

Hi everyone,
I’m playing with Ionic v2 and just noticed that some icons does not work as expected in ionTab components.
Here is my code:

<ion-tabs>
  <ion-tab [root]="tab1Root" tabTitle="Tweets" tabIcon="water"></ion-tab>
  <ion-tab [root]="tab2Root" tabTitle="Angular" tabIcon="angular"></ion-tab>
  <ion-tab [root]="tab3Root" tabTitle="React" tabIcon="nodejs"></ion-tab>
</ion-tabs>

The first icon called ‘water’ is well displayed on the screen (I’m running my app in chrome) but none of the others…
What I’m doing wrong?
Thanx


#2

There is differences with available Ionicons in v1 vs v2, make sure you only using icons from the v2 set here:

http://ionicframework.com/docs/v2/resources/ionicons/

It does look like angular and nodejs icons are available, but strangely they are missing the iOS-outline and Material Design versions.


#3

Thanks for your reply.
I’m using v2 set icons.
Maybe we have to wait a little!