I want to set icon on footer tab.In footer tab i want to display own icon image. Image should change of selected tab. Can any one tell me how to do that?
Do you mean a tab bar?
Yes, Tab Bar.
But, There are two image for one tab-
1)Active Image
2)Deactivate Image
I want image on place of icon image should change as per the active and decisive.
How can do that?
I did change in ionic.bundle.js file. Now, active and De-active image is working fine.
Use the icon-on
and icon-off
settings. This will change the icon when the tab is “active”
<ion-tab title="Home" icon-on="ion-ios7-filing" icon-off="ion-ios7-filing-outline">