The same applies to scrollable elements. You simply call element.scrollTo(x, y) and it'll respect the CSS scroll-behavior of the element.
確定! 回上一頁