Ionic 2 footer component


#1

I have searched a lot, but i did not find a footer component. Does it exist?
I have a toolbar with couple buttons and i want it to be places as a footer in my app.
I don’t want to play with custom css for it. Any pointers?


#2

There is a tag
<ion-footer>
which should go in a markup next to content, so you get something like:
<ion-navbar>
<ion-title>Your Page</ion-title>
</ion-navbar>

<ion-content>

</ion-content>

<ion-footer>
<ion-toolbar> ... </ion-toolbar>
</ion-footer>


#3

Thanks @alexanderpichugin, now i think this was trivial.


#4

Footers and headers are hidden inside toolbar component, so its not such straightforward: http://ionicframework.com/docs/v2/api/components/toolbar/Toolbar/

Actually if you use search inside v2 docs and carefully read through these docs you might get a lot of interesting stuff! That’s what I’m doing now :smiley: