最近在一個專案中需要監聽網頁Scroll 事件,用以觸發元素的移動。學習了JS Scroll 事件,今天來把 ... window.addEventListener('scroll', debounce(earthmove, 5));.
確定! 回上一頁