Is there an event for topic load?

(jj11909) #1

I need to track if a topic was loaded to override the visibility.

Is there an event similar to Discourse.on(:topic_created) that would allow me to see when a topic is requested?

(jj11909) #2

I see that I could use api.onPageChanged however I am a bit concerned that I may end up detecting things that are not topic loads.