Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果一个页面有出场动画和出去动画,这个组件应该怎么用啊!! #63

Open
Niofh opened this issue Mar 13, 2016 · 5 comments
Assignees

Comments

@Niofh
Copy link

Niofh commented Mar 13, 2016

如果一个页面有出场动画和出去动画,这个组件应该怎么用啊,我知道afterChange直接增加class类名,还有change移出 ,但我想有个进场动画和出场动画,比如当前页进去的旋转动画,向下或者向上滑动的时候是一个动画...那应该怎么增加class类名呢!! 求帮助!!

@yanhaijing
Copy link
Owner

http://www.uc.cn/topic/uc10/index.html 这种效果吗?

@Niofh
Copy link
Author

Niofh commented Mar 13, 2016

对的 ,楼主 ...能说下思路怎么写吗?

@yanhaijing
Copy link
Owner

目前并不支持出场动画,让我好好想想

@Niofh
Copy link
Author

Niofh commented Mar 13, 2016

你这个插件好用啊 找了好久啊!! 自己写又写不出了,看了好多视频都是滑动好卡的!!刚UC的项目是你写吗?感觉有点卡啊... 还是感谢楼主 一会儿我试试你的方法写个移动的APP看看行不行,如果你想好了出场和进场动画就通知下我.. 楼主有分享移动端适配问题或者移动注意细节?

@yanhaijing
Copy link
Owner

UC的不是我写的,是我收集的项目 #21 收集了精美的单屏滚动的demo,#9 是使用zepto.fullpage的项目demo

可以看看issue中标记为【官方】的issue,都是我收集很久的资料

入场动画是支持的,只是出场动画还不支持,想要支持的话需要改源代码,目前不支持,而且我还没打算加入这个功能。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants