rxjs

Introduction A while ago I wrote some JavaScript to create a custom slideshow. I recently had to revisit that project and I saw an opportunity to fiddle around with RxJS Explaining the problem The way the slideshow works is that it shows three images and moves up one frame at a time. So initially the first three images are shown and the rest are hidden. You press the right button to move forward and the left to move backwards. Of course at the beginning of the slideshow you can't move backwards. Thus the left button is hidden. Once you are…