clientHeight; return Math.round((winScroll / height) * 100);. 計算scroll 畫面的百分比. progressValue$ 取到scroll的值就完成了。 參考: Material.angular.io.
確定! 回上一頁