Ion-tab and Modal


#1

Can I call a modal from a tab?
I have an ion-tabs with 3 ion-tab (choices). (Revenue - Expense - Cheque) and i want to call a different modal for every tab.

Can i use the ng-click?

thanks


#2

What tab element do you want this modal to open for? Do you want it to open when the actual tab icons are clicked? if so, I would wonder why. The tabs are for showing containerized content.

Or do you want the modal to show when some content inside each tab is clicked? If so, you could put a button in each and have an ng-click on that button to open the modal. Yes, that will work fine.


#3

Thank’s for your advice…

Congratulations for your new position as Ionic Forum Manager.