事件对象坐标属性

client 以可视区域的左上角为参考
page 以文档页面左上角为参考
screen鼠标离电脑屏幕的坐标
offset 以元素的左上角为参考

猜你喜欢

转载自blog.csdn.net/weixin_43444623/article/details/84669614