第二步,建立會用到的observable. 這裡做滾動效果,所以只需要監聽滾動事件。 const scroll = Rx.Observable.fromEvent(document, 'scroll'); ...
確定! 回上一頁