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

修改获取元素位置的方式 #18

Closed
wants to merge 1 commit into from

Conversation

kangmingxuan
Copy link

将原来通过 offsetParent 进行迭代以求得元素位置的算法改变为,由 window
对象的pageXOffset(纵向是pageYOffset)加上元素 boundingClientRect.left(纵向为 top)。

将原来通过 offsetParent 进行迭代以求得元素位置的算法改变为,由 window
对象的pageXOffset(纵向是pageYOffset)加上元素 boundingClientRect.left(纵向为 top)。
@honghe-zhang
Copy link

你好 我想问下 这个touch js 的开源协议是哪种?

@kangmingxuan
Copy link
Author

抱歉,我没有在项目的官网查到有关开源协议的信息。

不过你可以问一下开发团队clouda-support@baidu.com,或者加入315483229咨询一下。

@honghe-zhang
Copy link

好的 谢谢 ,我已经发邮件 和申请加入群,但是都没有得到回应,所以只能放弃使用,用其它替代了。

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

Successfully merging this pull request may close these issues.

None yet

2 participants