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

关于Swiper组件的aspect-ratio建议能暴露一个高度改变完成的事件出来 #2112

Closed
lyh2668 opened this issue Oct 23, 2017 · 1 comment

Comments

@lyh2668
Copy link
Contributor

lyh2668 commented Oct 23, 2017

关于Swiper组件的aspect-ratio建议能暴露一个高度改变完成的事件出来,不然每次使用都需要在外层加个高度的watch
业务场景:需要根据scroller动态获取下方一个组件距离顶部的距离,由于swiper组件的高度是自适应的,刚开始获取的值会发生错误。

@lyh2668 lyh2668 changed the title 关于Swiper组件的aspect-ratio建议能暴露一个宽度改变完成的事件出来 关于Swiper组件的aspect-ratio建议能暴露一个高度改变完成的事件出来 Oct 23, 2017
airyland added a commit that referenced this issue Oct 24, 2017
airyland added a commit that referenced this issue Oct 24, 2017
@lyh2668
Copy link
Contributor Author

lyh2668 commented Oct 24, 2017

@airyland 谢大大采纳

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