摘要: 1.getBoundingClientRect方法简介 getBoundingClientRect 返回的是一个 DOMRect 对象,是一组矩形集合,我们这次所使用的返回值主要是left、top、bottom和right。其余的返回值width、height、x、y这次用不到,就不再讨论。 使用方 阅读全文
posted @ 2020-04-16 16:55 Action_swt 阅读(1931) 评论(0) 推荐(0) 编辑