Ionic Top Navigation Bar
Hello!
I need help making a Top Naviagtion Bar in my Ionic Project. There is no Doumentation about a Top Navigation Bar and I just can't get it to work.
Thanks!
You can do something like this:
<ion-tab-bar slot="top">
<ion-tab-button (click)="openExample()">
<ion-icon name="home"></ion-icon>
<ion-label>Example</ion-label>
</ion-tab-button>
<ion-tab-button (click)="openCartExample()">
<ion-icon name="cart"></ion-icon>
<ion-label>Example Cart</ion-label>
</ion-tab-button>
</ion-tab-bar>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.