observer
Implementing Dark Mode Using the Observer Pattern
Last week’s update to the SoundCloud iOS app includes support for Dark Mode. This took several months of work and collaboration between…
Controlling Element Visibility with the Intersection Observer API
Learn how to use the new IntersectionObserver API to control the visibility of elements relative to the viewport.
Rely on JavaScript's Intersection Observer to Execute Code When in View (or Not)
Stop a video playing or animate an element onscreen - the Intersection Observer API is highly versatile.





