GetBoundingClientRect 可以使我們取得Element 元素的寬高以及相對於視窗 ... pageYOffset) { console.log("元素底端已離開畫面"); } else if (div.
確定! 回上一頁