摘要: 本文转自:scrollIntoView 与 scrollIntoViewIfNeeded API 介绍 根据 MDN 的描述,Element.scrollIntoView()方法让当前的元素滚动到浏览器窗口的可视区域内。而Element.scrollIntoViewIfNeeded()方法也是用来将 阅读全文
posted @ 2020-01-06 13:52 Angiy 阅读(399) 评论(0) 推荐(0)