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?
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?
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.