scroll事件

一、監聽滾動事件 window.addEventListener('scroll', commonHeadScroll) 二、滾動函數 commonHeadScroll = () => { if (this.timer) { clearTimeout(this.timer); } this.timer = set
相關文章
相關標籤/搜索