lundi 28 septembre 2020

Ember update page title

In my Ember app (actually mine is an engine within a host/parent app), I want to set the page title.

Now while I do

document.title = "Page title I want" 

However, it gets overwritten by the host app i.e. what is set in the index.html

Where can I have the above code to set page title? Already tried adding in beforeModel, didTransition hooks, But that does not work.




Aucun commentaire:

Enregistrer un commentaire