You just need to get the element and call scrollIntoView method to it. Adding {behavior: 'smooth'} gives a smooth scrolling effect to the ...
確定! 回上一頁