摘要: getBoundingClientRect用于获取某个元素相对于视窗的位置集合。集合中有top, right, bottom, left等属性。1.语法:这个方法没有参数。rectObject = object.getBoundingClientRect();2.返回值类型:TextRectangl... 阅读全文
posted @ 2015-04-26 22:40 Songyc 阅读(68571) 评论(0) 推荐(9) 编辑