I am hacking the Atom init script to add extra thematic elements (new comment styling) and need to run a callback function every time the user scrolls. Googling didn’t find anything, and the only atom developer forum post was from 2016 and used deprecated API’s. This is not just a job for styles.less as I want to highlight selectively based on comment text. The only issue is that it doesn’t reload comments upon scrolling.
What element should I set the event listener on?