lundi 25 juillet 2016

getting route name from component

I have my problem with link-to help, I want to use it with bootstrap navigation, but I can't manage well active link state, so I'm trying to write a component, but I need to get the current route inside the component, so I can create the html element based on the route. I searched in the api reference, but didn't find nothing.

PS: I know there is an add-on to do that by I'm doing that to learn the framework.

sorry for my bad English.




Aucun commentaire:

Enregistrer un commentaire