Use this alternate syntax: window.scroll( { top: 1000, behavior: 'smooth' ... we set scrollTop to the height of the HTML document, so the scroll goes to the ...
確定! 回上一頁