Ionic2 / Angular2 - 如何在视图/页面和标签之间滑动(左右)? [英] Ionic2/Angular2 - How to swipe (right and left) between views/pages and tabs?
问题描述
我愿意在标签/页面之间实现向右/向左滑动操作,如下所示:
I am willing to implement a swipe right/left gesture between tabs/pages, like the one here:
也可在GitHub通过此链接(适用于iOS)
Also available on GitHub through this link (for iOS)
https:// github .com / cwRichardKim / RKSwipeBetweenViewControllers
另一个例子,但那个是基于Ionic1制作的:
Another example, but that one was made based on Ionic1:
www.ionic-sarav.rhcloud.com/ionic/tabbedSlideBox/slidingTabsUsingRepeat.html
任何人都知道如何在Ionic2 /中实现这一目标Angular2?如果您可以分享一个想法,实现相同的步骤,它将非常有用!
Anyone knows how to achieve that in Ionic2/Angular2? If you can share even just an idea, steps to achieve the same, it'll be very helpful!
推荐答案
在标签之间滑动目前还不支持Ionic 2。但
Swiping between tabs is not supported yet but will be at some point in the future with Ionic 2.
查看我们的Ionic 2路线图。正如您所看到的,它暂定于beta-7和beta-6刚刚在上周发布。但这是暂定的。
Check out our roadmap for Ionic 2. As you can see, it is tentatively scheduled for beta-7, and beta-6 was just released last week. It is tentative, though.
https://docs.google.com/document/d/1Qlc5X2eJyOB0izkFlH7KJ5BmMi0MeXUZRHJHt3hS6Wo/edit?usp=sharing
这篇关于Ionic2 / Angular2 - 如何在视图/页面和标签之间滑动(左右)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!