@kagancin wrote:
Hello, I want to fire a function from an ion-tab element, I don't want it to bring any page to the view. I tried a few things but they did not work. Is that possible?
<ion-tabs> <ion-tab tabIcon="contact" [root]="tab1"></ion-tab> <ion-tab tabIcon="compass" [root]="tab2"></ion-tab> <ion-tab tabIcon="analytics" [root]="tab3"></ion-tab> <ion-tab tabIcon="settings" role="button" (click)="fire(event)"></ion-tab> </ion-tabs>
Thanks in advance.
Posts: 1
Participants: 1