Ionic2 / Angular2 - 如何在视图/页面和标签之间滑动(左右)? [英] Ionic2/Angular2 - How to swipe (right and left) between views/pages and tabs?

查看:67
本文介绍了Ionic2 / Angular2 - 如何在视图/页面和标签之间滑动(左右)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我愿意在标签/页面之间实现向右/向左滑动操作,如下所示:

I am willing to implement a swipe right/left gesture between tabs/pages, like the one here:

https://camo.githubusercontent.com/90e2e5abbe8155744d579951b93a1260edef855e/687474703a2f2f692e696d6775722e636f6d2f7a6c66574461312e676966

也可在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.

查看我们的Io​​nic 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆