【发布时间】:2018-03-28 14:52:13
【问题描述】:
我在 Ionic3 中实现了可滑动的标签,效果很好。我想知道如何从ChatsPage 中选择ContactPage(两者都是super-tabs 中的单独选项卡)。 this.navCtrl.parent.select(0) 不适用于 super-tabs。
<super-tabs tabsHighlight="true" tabsPlacement="top" [selectedTabIndex]="mySelectedIndex" >
<super-tab [root]="contactsRoot" title="My Team" ></super-tab>
<super-tab [root]="chatsRoot" title="Chats" ></super-tab>
<super-tab [root]="callsRoot" title="Call Log" ></super-tab>
</super-tabs>
对此有什么想法吗?
【问题讨论】:
-
如果有人有同样的问题,请分享他们的想法
标签: ionic3