Hello,
I know this might be a really basic question but i’m getting started with ionic2 and a bit stumped…
I have built an app using the sidemenu starter template, added a few pages, but I want to make my sidemenu look nicer with some nice ionicons. But I simply cannot figure it out and googling is getting me nowhere.
Here is snippet from my app.html:
<ion-content>
<ion-list>
<button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
{{p.title}}
</button>
</ion-list>
</ion-content>
And here is the pages object this menu is driven off from app.component.ts
this.pages = [
{ title: 'Home', component: TabsPage },
{ title: 'Profile', component: ProfilePage },
{ title: 'Feedback', component: FeedbackPage },
];
How can I add icons to each menu item? Or point me to an example?
Thank you in advance!