mardi 5 janvier 2016

Show/hide home button depending on route

I'm doing the first steps in Ember.js and I am quite confused by the different approaches and solutions provided in communities.

I have a quite small application that has a application template and content templates which I navigate through by link-to.

My application template has a home button which I want to hide and show depending on the route i am navigating to. How do I do that?

I am using plain-old JavaScript. No preprocessors or similar.




Aucun commentaire:

Enregistrer un commentaire