您如何“轻扫返回"在爱奥尼(Ionic)? [英] How do you "Swipe to go back" in Ionic?

查看:125
本文介绍了您如何“轻扫返回"在爱奥尼(Ionic)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档中没有关于此的任何内容.

There's nothing in the docs about this.

我刚刚在ionics网站上阅读了一篇博客文章,说可以滑动回去(例如ios7),而且我也看到了最新的ng-conf,他们也谈到了它,但无处提及关于如何执行该死的事情.

I've just read a blog post on ionics website saying that it's possible to swipe to go back (like ios7) and I've seen the latest ng-conf where they talked about it as well, but nowhere to they mention on how to implement the damn thing.

推荐答案

无需向左滑动. Ionic的最新版本提供了此功能,默认为true. 至于使用此功能,您需要创建多个视图,然后只需要向左滑动即可将其带回到上一个视图.

No need to do a on-swipe-left. The latest version of Ionic provides this, and is defaults to true. As for using this feature, you need to create multiple views, and then just swipe from left, it will take you back to previous view.

这篇关于您如何“轻扫返回"在爱奥尼(Ionic)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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