Ionic向上滑动动画在侧边栏中仅一个视图 [英] Ionic Slide Up Slide Down Animation for only one view in sidebar

查看:121
本文介绍了Ionic向上滑动动画在侧边栏中仅一个视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于其余视图,我必须为一个视图添加上下滑动动画,我必须继续使用向左滑动动画,但是我尝试过但找不到任何示例示例,因此任何人都可以指出如何仅针对一个视图自定义动画

I have to add slide up and slide down animation for one view for rest of the view I have to continue using slide-left animation , but i tried but I could not find any example of sample , so can anybody point how to customize the animation for only one view

推荐答案

不幸的是,这目前是不可能的,您无法垂直向上滑动视图.

Unfortunately, that's currently impossible, you can't slide up views vertically.

尽管还有另一种解决方案,但是您可以使用此附加组件来创建类似的效果: http: //www.idangero.us/swiper/demos/#.VbnLN_mqpBc

Though there's another solution you can use this add-on to create similar effect: http://www.idangero.us/swiper/demos/#.VbnLN_mqpBc

它与Ionic一起使用.但是有一个问题,您将无法在其中滚动仅查看滑块.

It works with Ionic. But there's one problem, you won't be able to scroll view only slider inside.

另一种解决方案是称为可滑动UI卡"的第三方离子插件.同样,您不会刷卡查看仅卡指令.

Another solution is 3rd party Ionic plugin called Swipeable UI cards. Again you're not swiping view only card directive.

在此处查找: http://www.gajotres .net/must-have-plugins-for-ionic-framework/2/

也有实现垂直动画的请求,但是您不希望在未来几个月甚至一年内使用它们.

There's also a request to implement vertical animation, but you should not expect them in next few months, even year.

这篇关于Ionic向上滑动动画在侧边栏中仅一个视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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