What is the discourse api plugin method which triggers once the discourse header section loaded


Actually, I need to do some operations once the discourse headers is loaded. The problem is to find out the discourse api events which should trigger once the discourse headers is loaded.

I have tried with below api method which is triggered before the header html’s are loaded.

api.onAppEvent(“inserted-custom-html:footer”, () => { });

So, which event will be trigger once the header html’s are loaded ?

It might be helpful to back up and describe the problem you’re trying to solve with those methods.

1 Like