Answer the question
In order to leave comments, you need to log in
How to change the class depending on the page?
Hello!
There is a helper in html .. depending on which page the user is on, you need to give him the right class. How to catch this event?
here is the html structure
https://jsfiddle.net/4tkzpqww/1/
Answer the question
In order to leave comments, you need to log in
if you are using iron router, Router.current().route.getName()
then using Session.set/get to issue the desired
PS class in the case of flow routerFlowRouter.getRouteName();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question