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

Elegant way to customise Tabs header

$
0
0

@tleguijt wrote:

I'm using a <ion-tabs> in my project and instead of a navbar in the header, I would like to show a custom header with some elements (avatar, a header, some extra info).

The ion-tabs directive creates a <template navbar-anchor></template> in which it usually renders the navbar.
I would like to place my own custom element in it.
Instead of hacking my element into it with some DOM replace-element script, I wonder if there is an elegant solution to this. Is there some way I can hook the navbar-anchor to my own element?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles