Last active
June 18, 2018 12:49
-
-
Save realtomaszkula/bf2d2c04fc349f36c5321a7485917ccc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const scroll$ = fromEvent(window, 'scroll').pipe( | |
throttleTime(10), | |
map(() => window.pageYOffset), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment